Skip to content

Commit 81a6985

Browse files
committed
ignore screenshot.test.js from npm test script
1 parent b9fe58b commit 81a6985

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

jest.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ module.exports = {
1212
'^.+\\.js$': 'babel-jest',
1313
'^.+\\.vue$': 'vue-jest'
1414
},
15-
testMatch: ['**/test/**/*.test.js?(x)']
15+
testMatch: ['**/test/**/*.test.js?(x)'],
16+
modulePathIgnorePatterns: ["test/e2e/screenshot.test.js"] // Don't run this file in npm test
1617
},
1718
{
1819
displayName: 'node',

0 commit comments

Comments
 (0)