Skip to content

Commit f978ec9

Browse files
committed
🔧 Chore: add babel-polyfill for async await for tests
1 parent 87f95ae commit f978ec9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,10 @@
1717
"prepush": "npm test"
1818
},
1919
"ava": {
20-
"require": "babel-register",
20+
"require": [
21+
"babel-register",
22+
"babel-polyfill"
23+
],
2124
"babel": "inherit"
2225
},
2326
"nyc": {
@@ -38,6 +41,7 @@
3841
"devDependencies": {
3942
"ava": "^0.18.2",
4043
"babel-cli": "^6.24.0",
44+
"babel-polyfill": "^6.23.0",
4145
"babel-preset-env": "^1.2.1",
4246
"coveralls": "^2.12.0",
4347
"eslint": "^3.17.1",

0 commit comments

Comments
 (0)