Skip to content

Commit 3cb708f

Browse files
authored
Merge pull request #3081 from modernweb-dev/migrate/rollup-plugin-import-meta-assets-node-test
refactor(rollup-plugin-import-meta-assets): migrate tests to node:test
2 parents ea24228 + c9a0bbc commit 3cb708f

2 files changed

Lines changed: 242 additions & 141 deletions

File tree

packages/rollup-plugin-import-meta-assets/package.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,8 @@
2525
},
2626
"scripts": {
2727
"test": "npm run test:node",
28-
"test:node": "mocha test/**/*.test.js test/*.test.js --reporter dot",
29-
"test:update-snapshots": "mocha test/**/*.test.js test/*.test.js --update-snapshots",
30-
"test:watch": "npm run test:node -- --watch"
28+
"test:node": "node --test --test-force-exit test/**/*.test.js",
29+
"test:watch": "node --test --test-force-exit --watch test/**/*.test.js"
3130
},
3231
"files": [
3332
"*.js",

0 commit comments

Comments
 (0)