Skip to content

Commit 74f5eb0

Browse files
committed
chore: cloudcmd: actions: lint ☘️
1 parent 1d983e9 commit 74f5eb0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

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.ok(columns['name-size-date'].includes(css));
26+
t.match(columns['name-size-date'], 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.ok(columns['name-size-date'].includes(css));
38+
t.match(columns['name-size-date'], 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.ok(themes.dark.includes(css));
17+
t.match(themes.dark, 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.ok(themes.light.includes(css));
29+
t.match(themes.light, css);
3030
t.end();
3131
});

0 commit comments

Comments
 (0)