jest support async

This commit is contained in:
Amour1688 2020-05-17 00:02:24 +08:00
parent c1a26926c9
commit 9608e0afca
2 changed files with 3 additions and 1 deletions

View File

@ -3,5 +3,6 @@ module.exports = {
globals: {
"_h": h,
"_mergeProps": mergeProps
}
},
setupFiles: ['./tests/setup.js'],
}

View File

@ -41,6 +41,7 @@
"eslint-config-airbnb": "^18.1.0",
"eslint-plugin-import": "^2.20.2",
"jest": "^26.0.1",
"regenerator-runtime": "^0.13.5",
"vue": "^3.0.0-beta.10",
"webpack": "^4.43.0",
"webpack-cli": "^3.3.11",