Skip to content

Commit 2c6e9d8

Browse files
committed
move tests
1 parent 217618d commit 2c6e9d8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

special-pages/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build": "node index.mjs",
1111
"build.dev": "npm run build -- --env development",
1212
"lint-fix": "cd ../ && npm run lint-fix",
13-
"test-unit": "node --test unit-test/translations.mjs pages/duckplayer/unit-tests/embed-settings.mjs pages/new-tab/app/freemium-pir-banner/unit-tests/utils.spec.mjs",
13+
"test-unit": "node --test unit-test/*.mjs pages/duckplayer/unit-tests/embed-settings.mjs pages/new-tab/app/freemium-pir-banner/unit-tests/utils.spec.mjs",
1414
"test-int": "npm run test-unit && npm run build.dev && playwright test --grep-invert '@screenshots'",
1515
"test-int-x": "npm run test-int",
1616
"test.screenshots": "npm run test-unit && npm run build.dev && playwright test --grep '@screenshots'",

special-pages/pages/new-tab/app/favorites/unit-tests/color.spec.mjs renamed to special-pages/unit-test/color.spec.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import assert from 'node:assert';
22
import { test } from 'node:test';
3-
import { urlToColor } from '../../../../../shared/getColorForString.js';
3+
import { urlToColor } from '../shared/getColorForString.js';
44
import fc from 'fast-check';
55

66
/**

0 commit comments

Comments
 (0)