juareznasato / vuetify-money

vuetify-money
45 stars 23 forks source link

SyntaxError: Cannot use import statement outside a module #13

Closed renanaragao closed 4 years ago

renanaragao commented 4 years ago

Erro in unit test with jest.

image

juareznasato commented 4 years ago

Hi! is there, the directory vuetify-money, into node_modules?

renanaragao commented 4 years ago

Yes, when I run the application with npm start it works, only in the npm test it will not.

renanaragao commented 4 years ago

transformIgnorePatterns: [ '<rootDir>/node_modules/(?!vee-validate/dist/rules|vuetify-money)', ],

It worked