Skip to content

Commit

Permalink
feat: add Promise into test environment
Browse files Browse the repository at this point in the history
  • Loading branch information
yuche committed Sep 10, 2017
1 parent 55c4be9 commit 13e0055
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -74,6 +74,7 @@
"chai": "^4.1.0",
"coveralls": "^2.13.1",
"es5-polyfill": "^0.0.1",
"es6-promise": "^4.1.1",
"eslint": "^3.19.0",
"eslint-config-standard": "^10.2.1",
"eslint-config-standard-jsx": "^4.0.2",
Expand All @@ -96,7 +97,6 @@
"karma-sourcemap-loader": "^0.3.7",
"karma-webpack": "^2.0.4",
"lint-staged": "^4.0.4",
"minimist": "^1.2.0",
"mocha": "^3.4.2",
"npm-run-all": "^4.0.2",
"optimize-js": "^1.0.3",
Expand Down
1 change: 1 addition & 0 deletions test/spec.js
@@ -1,4 +1,5 @@
import 'babel-polyfill'
import 'es6-promise/auto'
import './modules/util.spec'
import './modules/h.spec'
import './modules/createElement.spec'
Expand Down
4 changes: 4 additions & 0 deletions yarn.lock
Expand Up @@ -1886,6 +1886,10 @@ es6-map@^0.1.3:
es6-symbol "~3.1.1"
event-emitter "~0.3.5"

es6-promise@^4.1.1:
version "4.1.1"
resolved "https://registry.npmjs.org/es6-promise/-/es6-promise-4.1.1.tgz#8811e90915d9a0dba36274f0b242dbda78f9c92a"

es6-set@~0.1.5:
version "0.1.5"
resolved "https://registry.npmjs.org/es6-set/-/es6-set-0.1.5.tgz#d2b3ec5d4d800ced818db538d28974db0a73ccb1"
Expand Down

0 comments on commit 13e0055

Please sign in to comment.