Skip to content

Commit 1d983e9

Browse files
committed
test: cloudcmd: server
1 parent f9b3844 commit 1d983e9

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

.madrun.mjs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import process from 'node:process';
22
import {run, cutEnv} from 'madrun';
33

44
const testEnv = {
5-
THREAD_IT_COUNT: 0,
65
SUPERTAPE_TIMEOUT: 7000,
76
};
87

server/columns.spec.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ test('columns: dev', (t) => {
2323

2424
const css = fs.readFileSync(`${__dirname}/../css/columns/name-size-date.css`, 'utf8');
2525

26-
t.equal(columns['name-size-date'], css);
26+
t.ok(columns['name-size-date'].includes(css));
2727
t.end();
2828
});
2929

@@ -35,6 +35,6 @@ test('columns: no args', (t) => {
3535
const css = fs.readFileSync(`${__dirname}/../css/columns/name-size-date.css`, 'utf8');
3636
isDev(currentIsDev);
3737

38-
t.equal(columns['name-size-date'], css);
38+
t.ok(columns['name-size-date'].includes(css));
3939
t.end();
4040
});

server/themes.spec.mjs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ test('themes: dev', (t) => {
1414

1515
const css = fs.readFileSync(`${__dirname}/../css/themes/dark.css`, 'utf8');
1616

17-
t.equal(themes.dark, css);
17+
t.ok(themes.dark.includes(css));
1818
t.end();
1919
});
2020

@@ -26,6 +26,6 @@ test('themes: no args', (t) => {
2626
const css = fs.readFileSync(`${__dirname}/../css/themes/light.css`, 'utf8');
2727
isDev(currentIsDev);
2828

29-
t.equal(themes.light, css);
29+
t.ok(themes.light.includes(css));
3030
t.end();
3131
});

0 commit comments

Comments
 (0)