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 26, 2021
1 parent 38af681 commit 1e6cce3
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: [ 'e2e-tests/specs/**/*.test.js' ],
setupFiles: [ '<rootDir>/config/gutenberg-phase.js' ],
setupFilesAfterEnv: [
'<rootDir>/config/setup-test-framework.js',
Expand Down

0 comments on commit 1e6cce3

Please sign in to comment.