File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -118,7 +118,7 @@ A `package.json` Example
118
118
"^.+\\ .vue$" : " @vue/vue2-jest"
119
119
},
120
120
"globals" : {
121
- "@ vue/vue2 -jest" : {
121
+ "vue-jest" : {
122
122
"transform" : {
123
123
"your-custom-block" : " ./custom-block-processor.js"
124
124
}
@@ -135,7 +135,7 @@ A `jest.config.js` Example - If you're using a dedicated configuration file like
135
135
``` js
136
136
module .exports = {
137
137
globals: {
138
- ' @ vue/vue2 -jest' : {
138
+ ' vue-jest' : {
139
139
transform: {
140
140
' your-custom-block' : require (' ./custom-block-processor' )
141
141
}
@@ -170,7 +170,7 @@ You can provide [TemplateCompileOptions](https://github.com/vuejs/component-comp
170
170
{
171
171
"jest" : {
172
172
"globals" : {
173
- "@ vue/vue2 -jest" : {
173
+ "vue-jest" : {
174
174
"templateCompiler" : {
175
175
"transpileOptions" : {
176
176
"transforms" : {
@@ -195,7 +195,7 @@ You can provide [TemplateCompileOptions](https://github.com/vuejs/component-comp
195
195
{
196
196
"jest" : {
197
197
"globals" : {
198
- "@ vue/vue2 -jest" : {
198
+ "vue-jest" : {
199
199
"pug" : {
200
200
"basedir" : " mybasedir"
201
201
}
You can’t perform that action at this time.
0 commit comments