Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove /wordpress from test/linting ignore paths #20270

Merged
merged 6 commits into from
Jan 3, 2021
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,4 @@ packages/block-serialization-spec-parser/parser.js
packages/e2e-tests/plugins
playground/dist
vendor
wordpress
!.*.js
1 change: 0 additions & 1 deletion packages/e2e-tests/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ module.exports = {
],
testPathIgnorePatterns: [
'/node_modules/',
'/wordpress/',
'e2e-tests/specs/performance/',
],
};
2 changes: 1 addition & 1 deletion packages/jest-preset-default/jest-preset.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ module.exports = {
'**/test/*.[jt]s',
'**/?(*.)test.[jt]s',
],
testPathIgnorePatterns: [ '/node_modules/', '/wordpress/' ],
testPathIgnorePatterns: [ '/node_modules/' ],
timers: 'fake',
transform: {
'^.+\\.[jt]sx?$': require.resolve( 'babel-jest' ),
Expand Down
1 change: 0 additions & 1 deletion packages/scripts/config/.eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
build
node_modules
wordpress
1 change: 0 additions & 1 deletion packages/scripts/config/.stylelintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# By default, all `node_modules` are ignored.

build
wordpress
2 changes: 1 addition & 1 deletion packages/scripts/config/jest-e2e.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const { hasBabelConfig } = require( '../utils' );
const jestE2EConfig = {
preset: 'jest-puppeteer',
testMatch: [ '**/specs/**/*.[jt]s', '**/?(*.)spec.[jt]s' ],
testPathIgnorePatterns: [ '/node_modules/', '/wordpress/' ],
testPathIgnorePatterns: [ '/node_modules/' ],
reporters:
'TRAVIS' in process.env && 'CI' in process.env
? [
Expand Down
6 changes: 1 addition & 5 deletions test/native/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ module.exports = {
],
testEnvironment: 'jsdom',
testMatch: [ '**/test/*.native.[jt]s?(x)' ],
testPathIgnorePatterns: [
'/node_modules/',
'/wordpress/',
'/__device-tests__/',
],
testPathIgnorePatterns: [ '/node_modules/', '/__device-tests__/' ],
testURL: 'http://localhost/',
// Add the `Libraries/Utilities` subfolder to the module directories, otherwise haste/jest doesn't find Platform.js on Travis,
// and add it first so https://github.com/facebook/react-native/blob/v0.60.0/Libraries/react-native/react-native-implementation.js#L324-L326 doesn't pick up the Platform npm module.
Expand Down
1 change: 0 additions & 1 deletion test/unit/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ module.exports = {
'/.git/',
'/node_modules/',
'/packages/e2e-tests',
'/wordpress/',
'<rootDir>/.*/build/',
'<rootDir>/.*/build-module/',
'<rootDir>/.+.native.js$',
Expand Down