This repository was archived by the owner on Sep 18, 2025. It is now read-only.
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
118118 "^.+\\ .vue$" : " @vue/vue2-jest"
119119 },
120120 "globals" : {
121- "@ vue/vue2 -jest" : {
121+ "vue-jest" : {
122122 "transform" : {
123123 "your-custom-block" : " ./custom-block-processor.js"
124124 }
@@ -135,7 +135,7 @@ A `jest.config.js` Example - If you're using a dedicated configuration file like
135135``` js
136136module .exports = {
137137 globals: {
138- ' @ vue/vue2 -jest' : {
138+ ' vue-jest' : {
139139 transform: {
140140 ' your-custom-block' : require (' ./custom-block-processor' )
141141 }
@@ -170,7 +170,7 @@ You can provide [TemplateCompileOptions](https://github.com/vuejs/component-comp
170170{
171171 "jest" : {
172172 "globals" : {
173- "@ vue/vue2 -jest" : {
173+ "vue-jest" : {
174174 "templateCompiler" : {
175175 "transpileOptions" : {
176176 "transforms" : {
@@ -195,7 +195,7 @@ You can provide [TemplateCompileOptions](https://github.com/vuejs/component-comp
195195 {
196196 "jest" : {
197197 "globals" : {
198- "@ vue/vue2 -jest" : {
198+ "vue-jest" : {
199199 "pug" : {
200200 "basedir" : " mybasedir"
201201 }
You can’t perform that action at this time.
0 commit comments