Skip to content

Commit

Permalink
Force module consumption in Mocha runner
Browse files Browse the repository at this point in the history
  • Loading branch information
Westbrook committed Mar 15, 2023
1 parent 2ccbf26 commit 5cf5570
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/test-runner-mocha/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
},
"scripts": {
"build": "tsc",
"build:production": "rimraf dist && rollup -c rollup.config.js",
"build:production": "rimraf dist && rollup -c ./rollup.config.mjs",
"test": "mocha test/**/*.test.js",
"test:watch": "mocha test/**/*.test.js --watch --watch-files src,test"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import deepmerge from 'deepmerge';
import createConfig from '../../rollup.browser.config';
import createConfig from '../../rollup.browser.config.mjs';

const REGEXP_DTS_MOCHA = /'..\/..\/..\/node_modules\/mocha\/mocha.js'/g;
const REGEXP_DTS_CORE = /'..\/..\/test-runner-core\/browser\/session.js'/g;
Expand Down
File renamed without changes.

0 comments on commit 5cf5570

Please sign in to comment.