|
3 | 3 | "private": true, |
4 | 4 | "type": "module", |
5 | 5 | "scripts": { |
6 | | - "test": "node --test ./src/migrated/*.test.js", |
7 | | - "dev": "node --test --watch ./src/migrated/*.test.js", |
| 6 | + "test": "node --test ./src/*.test.js", |
| 7 | + "dev": "node --test --watch ./src/*.test.js", |
8 | 8 | "test:all": "npm run test:coverage && npm run test:only && npm run test:seq && npm run test:par", |
9 | | - "test:coverage": "node --test --experimental-test-coverage ./src/migrated/*.test.js", |
10 | | - "test:coverage:file": "node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info ./src/migrated/*.test.js", |
| 9 | + "test:coverage": "node --test --experimental-test-coverage ./src/*.test.js", |
| 10 | + "test:coverage:file": "node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=lcov.info ./src/*.test.js", |
11 | 11 | "report:html": "npx @lcov-viewer/cli lcov -o ./coverage ./lcov.info", |
12 | | - "test:seq": "node --test --test-concurrency=1 ./src/migrated/*.test.js", |
13 | | - "test:par": "node --test --test-concurrency=5 ./src/migrated/*.test.js", |
14 | | - "test:only": "node --test --test-only src/migrated/*.only.js", |
15 | | - "test:failing": "node --test src/migrated/*.failing.js && echo 'Error: test run should fail' && exit 1 || echo 'Success: test run failed as expected' && exit 0", |
16 | | - "lint": "biome lint --apply ./src/migrated", |
| 12 | + "test:seq": "node --test --test-concurrency=1 ./src/*.test.js", |
| 13 | + "test:par": "node --test --test-concurrency=5 ./src/*.test.js", |
| 14 | + "test:only": "node --test --test-only src/*.only.js", |
| 15 | + "test:failing": "node --test src/*.failing.js && echo 'Error: test run should fail' && exit 1 || echo 'Success: test run failed as expected' && exit 0", |
| 16 | + "lint": "biome lint --apply ./src", |
17 | 17 | "format": "biome format --write ." |
18 | 18 | }, |
19 | 19 | "license": "MIT", |
|
0 commit comments