|
14 | 14 | "lint": "eslint --fix .", |
15 | 15 | "test": "npm run lint && npm run test:integration && npm run coverage && npm run test:types", |
16 | 16 | "test:nolint": "npm run test:integration && npm run coverage && npm run test:types", |
17 | | - "test:unit": "node --test 'test/unit/**/*-test.js'", |
18 | | - "test:integration": "node --test --test-concurrency=1 'test/integration/**/*-test.js'", |
| 17 | + "test:unit": "node --test test/unit/**/*-test.js", |
| 18 | + "test:integration": "node --test --test-concurrency=1 test/integration/*-test.js", |
19 | 19 | "test:types": "tsd --files types/*.test-d.ts", |
20 | | - "coverage": "node -e \"require('fs').mkdirSync('coverage', {recursive: true})\" && node --test --experimental-test-coverage --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=coverage/lcov.info 'test/unit/**/*-test.js'", |
21 | | - "coverage:text": "node --test --experimental-test-coverage --test-reporter=spec 'test/unit/**/*-test.js'", |
22 | | - "coverage:lcov": "node -e \"require('fs').mkdirSync('coverage', {recursive: true})\" && node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info 'test/unit/**/*-test.js'", |
23 | | - "coverage:all": "node -e \"require('fs').mkdirSync('coverage', {recursive: true})\" && node --test --experimental-test-coverage --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=coverage/lcov.info 'test/unit/**/*-test.js' 'test/integration/**/*-test.js'", |
| 20 | + "coverage": "node -e \"require('fs').mkdirSync('coverage', {recursive: true})\" && node --test --experimental-test-coverage --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=coverage/lcov.info test/unit/**/*-test.js", |
| 21 | + "coverage:text": "node --test --experimental-test-coverage --test-reporter=spec test/unit/**/*-test.js", |
| 22 | + "coverage:lcov": "node -e \"require('fs').mkdirSync('coverage', {recursive: true})\" && node --test --experimental-test-coverage --test-reporter=lcov --test-reporter-destination=coverage/lcov.info test/unit/**/*-test.js", |
| 23 | + "coverage:all": "node -e \"require('fs').mkdirSync('coverage', {recursive: true})\" && node --test --experimental-test-coverage --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=coverage/lcov.info test/unit/**/*-test.js test/integration/*-test.js", |
24 | 24 | "rc": "npm version prerelease --preid RC" |
25 | 25 | }, |
26 | 26 | "engines": { |
|
0 commit comments