Skip to content

Commit

Permalink
Rename runner.js to .mjs to make mocha happy in latest Node
Browse files Browse the repository at this point in the history
  • Loading branch information
tomalec committed Oct 14, 2019
1 parent 2f4d0b0 commit 4983596
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ before_script:
- npm install
- npm run serve & # start a Web server
- sleep 3 # give Web server some time to bind to sockets, etc
node_js: 12.10.0
node_js: node
addons:
sauce_connect: true
script:
Expand Down
2 changes: 1 addition & 1 deletion test/mocha-run.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
(async () => {
await import("./runner.js");
await import("./runner.mjs");
run();
})();
File renamed without changes.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ module.exports = [
},
/* bundle tests for browser */
{
entry: './test/runner.js',
entry: './test/runner.mjs',
output: {
filename: '../test/runner-browser.js',
library: 'Tests',
Expand Down

0 comments on commit 4983596

Please sign in to comment.