// 自动化测试 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/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', '/pages/webview-screenshot-comparison/webview-screenshot-comparison.test.js', '/pages/webview-screenshot/webview-screenshot.test.js' ], setupFilesAfterEnv: ['/jest-setup.js'], }