Skip to content

Commit 593c6fa

Browse files
committedMay 19, 2018
setup Jest with TypeScript and decorators support
$ npm install --save-dev @types/jest ts-jest babel-jest @vue/test-utils vue-jest vue-typescript-jest jest-localstorage-mock
1 parent 7662155 commit 593c6fa

File tree

5 files changed

+2707
-2094
lines changed

5 files changed

+2707
-2094
lines changed
 

‎.babelrc

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
{
22
"presets": [
33
["env", { "modules": false }]
4-
]
4+
],
5+
"env": {
6+
"test": {
7+
"presets": ["env"]
8+
}
9+
}
510
}

0 commit comments

Comments
 (0)