mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 02:35:49 +00:00
test: cloudcmd: server
This commit is contained in:
parent
f9b3844153
commit
1d983e9950
3 changed files with 4 additions and 5 deletions
|
|
@ -23,7 +23,7 @@ test('columns: dev', (t) => {
|
|||
|
||||
const css = fs.readFileSync(`${__dirname}/../css/columns/name-size-date.css`, 'utf8');
|
||||
|
||||
t.equal(columns['name-size-date'], css);
|
||||
t.ok(columns['name-size-date'].includes(css));
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -35,6 +35,6 @@ test('columns: no args', (t) => {
|
|||
const css = fs.readFileSync(`${__dirname}/../css/columns/name-size-date.css`, 'utf8');
|
||||
isDev(currentIsDev);
|
||||
|
||||
t.equal(columns['name-size-date'], css);
|
||||
t.ok(columns['name-size-date'].includes(css));
|
||||
t.end();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ test('themes: dev', (t) => {
|
|||
|
||||
const css = fs.readFileSync(`${__dirname}/../css/themes/dark.css`, 'utf8');
|
||||
|
||||
t.equal(themes.dark, css);
|
||||
t.ok(themes.dark.includes(css));
|
||||
t.end();
|
||||
});
|
||||
|
||||
|
|
@ -26,6 +26,6 @@ test('themes: no args', (t) => {
|
|||
const css = fs.readFileSync(`${__dirname}/../css/themes/light.css`, 'utf8');
|
||||
isDev(currentIsDev);
|
||||
|
||||
t.equal(themes.light, css);
|
||||
t.ok(themes.light.includes(css));
|
||||
t.end();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue