Skip to content

Commit

Permalink
Avoid running non *.test.js files in e2e tests
Browse files Browse the repository at this point in the history
  • Loading branch information
youknowriad committed Nov 29, 2021
1 parent 3da5060 commit 1f76640
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/e2e-tests/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ const baseConfig = require( '@wordpress/scripts/config/jest-e2e.config' );

module.exports = {
...baseConfig,
testMatch: [ '<rootDir>/specs/**/*.test.js' ],
setupFiles: [ '<rootDir>/config/gutenberg-phase.js' ],
setupFilesAfterEnv: [
'<rootDir>/config/setup-test-framework.js',
Expand Down

0 comments on commit 1f76640

Please sign in to comment.