Skip to content

Commit

Permalink
esm.js is no longer needed
Browse files Browse the repository at this point in the history
  • Loading branch information
dankogai committed Jan 30, 2022
1 parent 591b4e4 commit 1b338df
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
language: node_js
node_js:
- "node"
- "16"
- "14"
- "12"
- "10"

2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ $(UMD): $(PJ) $(TS)
tsc --module umd --outDir $(UMD_DIR) --target es6 $(TS)

test: all
mocha --require esm
mocha

clean:
-rm $(DTS) $(MJS) $(JS) $(COMMONJS) $(UMD)
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"devDependencies": {
"typescript": "^3.9.7",
"@types/node": "^14.0.26",
"esm": "^3.2.25",
"mocha": "^8.0.0",
"chai": "^4.2.0"
},
Expand Down
4 changes: 3 additions & 1 deletion test/00-node.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
global.chai = require('chai');
import * as _chai from 'chai';
global.chai = _chai;
// global.chai = require('chai');
global.isLegacySafari = false;

0 comments on commit 1b338df

Please sign in to comment.