diff --git a/.madrun.mjs b/.madrun.mjs index af97b51d..c8779b5f 100644 --- a/.madrun.mjs +++ b/.madrun.mjs @@ -2,7 +2,6 @@ import process from 'node:process'; import {run, cutEnv} from 'madrun'; const testEnv = { - THREAD_IT_COUNT: 0, SUPERTAPE_TIMEOUT: 7000, }; diff --git a/server/columns.spec.mjs b/server/columns.spec.mjs index 8ddcd54c..5d7f1c92 100644 --- a/server/columns.spec.mjs +++ b/server/columns.spec.mjs @@ -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(); }); diff --git a/server/themes.spec.mjs b/server/themes.spec.mjs index e88a3ec9..dadd9647 100644 --- a/server/themes.spec.mjs +++ b/server/themes.spec.mjs @@ -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(); });