mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-20 05:02:37 +08:00
Updating Vue Jest Config
Based on https://github.com/storybooks/storybook/issues/2800#issuecomment-359490832 this change is needed to get Storyshots working with Vue/Nuxt starting at 3.4.0-alpha5
This commit is contained in:
parent
821aaa784f
commit
8578270022
@ -84,6 +84,9 @@ module.exports = {
|
||||
'^.+\\.jsx?$': 'babel-jest',
|
||||
'.*\\.(vue)$': '<rootDir>/node_modules/jest-vue-preprocessor',
|
||||
},
|
||||
transformIgnorePatterns: [
|
||||
'/node_modules/(?!(@storybook/.*\\.vue$))',
|
||||
],
|
||||
moduleFileExtensions: ['vue', 'js', 'jsx', 'json', 'node'],
|
||||
};
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user