提交 881f9d42 编写于 作者: dcloud_wdl's avatar dcloud_wdl

update jest.config.js 将ios必现闪退的页面,加入到testPathIgnorePatterns中

上级 e787b4c9
......@@ -6,6 +6,12 @@ module.exports = {
moduleFileExtensions: ['js', 'json'],
rootDir: __dirname,
testMatch: ["<rootDir>/pages/**/*test.[jt]s?(x)"],
testPathIgnorePatterns: ['/node_modules/'],
testPathIgnorePatterns: [
'/node_modules/',
'<rootDir>/pages/component/video/video.test.js',
'<rootDir>/pages/API/download-file/download-file.test.js',
'<rootDir>/pages/API/upload-file/upload-file.test.js',
'<rootDir>/pages/API/get-battery-info/get-battery-info.test.js'
],
setupFilesAfterEnv: ['<rootDir>/jest-setup.js'],
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册