test: cloudcmd: server

This commit is contained in:
coderiaser 2025-07-05 20:39:25 +03:00
parent f9b3844153
commit 1d983e9950
3 changed files with 4 additions and 5 deletions

View file

@ -2,7 +2,6 @@ import process from 'node:process';
import {run, cutEnv} from 'madrun';
const testEnv = {
THREAD_IT_COUNT: 0,
SUPERTAPE_TIMEOUT: 7000,
};

View file

@ -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();
});

View file

@ -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();
});