// 自动化测试 module.exports = { testTimeout: 30000, reporters: ['default'], watchPathIgnorePatterns: ['/node_modules/', '/dist/', '/.git/'], moduleFileExtensions: ['js', 'json'], rootDir: __dirname, testMatch: ["/pages/**/*test.[jt]s?(x)"], testPathIgnorePatterns: [ '/node_modules/', '/pages/component/video/video.test.js', '/pages/API/download-file/download-file.test.js', '/pages/API/upload-file/upload-file.test.js', '/pages/API/get-battery-info/get-battery-info.test.js' ], setupFilesAfterEnv: ['/jest-setup.js'], }