Skip to content

Commit 9899190

Browse files
committed
Update permissions editor to vue-cli 4.3.x
1 parent 962797a commit 9899190

File tree

3 files changed

+233
-532
lines changed

3 files changed

+233
-532
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,3 @@
11
module.exports = {
2-
moduleFileExtensions: [
3-
'js',
4-
'jsx',
5-
'json',
6-
'vue'
7-
],
8-
transform: {
9-
'^.+\\.vue$': 'vue-jest',
10-
'.+\\.(css|styl|less|sass|scss|svg|png|jpg|ttf|woff|woff2)$': 'jest-transform-stub',
11-
'^.+\\.jsx?$': 'babel-jest'
12-
},
13-
transformIgnorePatterns: [
14-
'/node_modules/'
15-
],
16-
moduleNameMapper: {
17-
'^@/(.*)$': '<rootDir>/src/$1'
18-
},
19-
snapshotSerializers: [
20-
'jest-serializer-vue'
21-
],
22-
testMatch: [
23-
'**/tests/unit/**/*.spec.(js|jsx|ts|tsx)|**/__tests__/*.(js|jsx|ts|tsx)'
24-
],
25-
testURL: 'http://localhost/',
26-
watchPlugins: [
27-
'jest-watch-typeahead/filename',
28-
'jest-watch-typeahead/testname'
29-
]
2+
preset: '@vue/cli-plugin-unit-jest'
303
}

0 commit comments

Comments
 (0)