Skip to content

Commit

Permalink
trey and fail to fix testing esm build in mocha;
Browse files Browse the repository at this point in the history
  • Loading branch information
wheresrhys committed May 10, 2020
1 parent ac4572d commit ad99063
Show file tree
Hide file tree
Showing 6 changed files with 720 additions and 49 deletions.
4 changes: 2 additions & 2 deletions .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 --require esm
- run: make test-esm

node10:
<<: *node10
Expand Down Expand Up @@ -213,7 +213,7 @@ workflows:
- node10
- node13
- node14
- esm
# - esm
filters:
branches:
ignore: /.*/
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ test-browser:
test-es5:
node test/es5.js

test-esm:
FETCH_MOCK_SRC=../esm/server.js ./node_modules/.bin/mocha test/server.mjs

typecheck:
dtslint --expectOnly types

Expand Down
Loading

0 comments on commit ad99063

Please sign in to comment.