mirror of
https://gitee.com/dcloud/uni-preset-vue
synced 2026-05-11 00:00:01 +08:00
feat: add jest.config.js
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
module.exports = {
|
||||
globalTeardown: '@dcloudio/uni-automator/dist/teardown.js',
|
||||
testEnvironment: '@dcloudio/uni-automator/dist/environment.js',
|
||||
testEnvironmentOptions: {},
|
||||
testTimeout: 15000,
|
||||
reporters: [
|
||||
'default'
|
||||
],
|
||||
watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'],
|
||||
moduleFileExtensions: ['js', 'json'],
|
||||
rootDir: __dirname,
|
||||
testMatch: ['<rootDir>/src/__tests__/**/*spec.[jt]s?(x)'],
|
||||
testPathIgnorePatterns: ['/node_modules/']
|
||||
}
|
||||
Reference in New Issue
Block a user