Skip to content

Commit

Permalink
add esm hook to mocha
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed May 10, 2020
1 parent a965c67 commit ac4572d
Show file tree
Hide file tree
Showing 3 changed files with 93 additions and 86 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ jobs:
steps:
- *workspace
- run: npm rebuild
- run: FETCH_MOCK_SRC=../esm/server.js ./node_modules/.bin/mocha test/server.mjs
- run: FETCH_MOCK_SRC=../esm/server.js ./node_modules/.bin/mocha test/server.mjs --require esm

node10:
<<: *node10
Expand Down
Loading

0 comments on commit ac4572d

Please sign in to comment.