diff --git a/.stylelintignore b/.stylelintignore deleted file mode 100644 index 554806723c0e3d..00000000000000 --- a/.stylelintignore +++ /dev/null @@ -1 +0,0 @@ -wordpress diff --git a/packages/e2e-tests/jest.config.js b/packages/e2e-tests/jest.config.js index 5a4e0a5416a617..2720488c7b36de 100644 --- a/packages/e2e-tests/jest.config.js +++ b/packages/e2e-tests/jest.config.js @@ -10,6 +10,8 @@ module.exports = { 'expect-puppeteer', ], testPathIgnorePatterns: [ + '/node_modules/', + '/wordpress/', 'e2e-tests/specs/performance.test.js', ], }; diff --git a/packages/jest-preset-default/CHANGELOG.md b/packages/jest-preset-default/CHANGELOG.md index d06f3574d121a6..c5a62a337246e4 100644 --- a/packages/jest-preset-default/CHANGELOG.md +++ b/packages/jest-preset-default/CHANGELOG.md @@ -1,3 +1,9 @@ +## Master + +### Bug Fixes + +- Add `wordpress` folder to the list of ignored paths ([#17296](https://github.com/WordPress/gutenberg/pull/17296)). + ## 5.0.0 (2019-08-29) ### Breaking Changes diff --git a/packages/jest-preset-default/jest-preset.json b/packages/jest-preset-default/jest-preset.json index eb670e561b8497..54b62de584fcc9 100644 --- a/packages/jest-preset-default/jest-preset.json +++ b/packages/jest-preset-default/jest-preset.json @@ -19,6 +19,10 @@ "**/test/*.[jt]s", "**/?(*.)test.[jt]s" ], + "testPathIgnorePatterns": [ + "/node_modules/", + "/wordpress/" + ], "timers": "fake", "transform": { "^.+\\.[jt]sx?$": "/node_modules/babel-jest" diff --git a/packages/scripts/CHANGELOG.md b/packages/scripts/CHANGELOG.md index 8817e8a699bfa4..c6f5e3d99fde01 100644 --- a/packages/scripts/CHANGELOG.md +++ b/packages/scripts/CHANGELOG.md @@ -4,6 +4,10 @@ - Add the new `env` family of scripts [(#17004](https://github.com/WordPress/gutenberg/pull/17004/)). +### Bug Fixes + +- Add `wordpress` folder to the list of ignored paths in all applicable config files ([#17296](https://github.com/WordPress/gutenberg/pull/17296)). + ## 4.0.0 (2019-08-29) ### Breaking Changes diff --git a/packages/scripts/config/.eslintignore b/packages/scripts/config/.eslintignore index e3fbd98336eafe..86ad1b8cdc7b8d 100644 --- a/packages/scripts/config/.eslintignore +++ b/packages/scripts/config/.eslintignore @@ -1,2 +1,3 @@ build node_modules +wordpress diff --git a/packages/scripts/config/.npmpackagejsonlintignore b/packages/scripts/config/.npmpackagejsonlintignore index ae6cdbfb623bb1..c551598526f04c 100644 --- a/packages/scripts/config/.npmpackagejsonlintignore +++ b/packages/scripts/config/.npmpackagejsonlintignore @@ -1,3 +1,4 @@ # By default, all `node_modules` are ignored. build +wordpress diff --git a/packages/scripts/config/.stylelintignore b/packages/scripts/config/.stylelintignore index ae6cdbfb623bb1..c551598526f04c 100644 --- a/packages/scripts/config/.stylelintignore +++ b/packages/scripts/config/.stylelintignore @@ -1,3 +1,4 @@ # By default, all `node_modules` are ignored. build +wordpress diff --git a/packages/scripts/config/jest-e2e.config.js b/packages/scripts/config/jest-e2e.config.js index 45140772dc4c1c..df119629454633 100644 --- a/packages/scripts/config/jest-e2e.config.js +++ b/packages/scripts/config/jest-e2e.config.js @@ -14,6 +14,10 @@ const jestE2EConfig = { '**/specs/**/*.[jt]s', '**/?(*.)spec.[jt]s', ], + testPathIgnorePatterns: [ + '/node_modules/', + '/wordpress/', + ], }; if ( ! hasBabelConfig() ) { diff --git a/test/native/jest.config.js b/test/native/jest.config.js index e049d9416052c2..6ff9370be48939 100644 --- a/test/native/jest.config.js +++ b/test/native/jest.config.js @@ -34,6 +34,7 @@ module.exports = { ], testPathIgnorePatterns: [ '/node_modules/', + '/wordpress/', '/__device-tests__/', ], testURL: 'http://localhost/', diff --git a/test/unit/jest.config.js b/test/unit/jest.config.js index 2ce43ae6f8cc45..6ad2de76e69ef2 100644 --- a/test/unit/jest.config.js +++ b/test/unit/jest.config.js @@ -21,6 +21,7 @@ module.exports = { '/\.git/', '/node_modules/', '/packages/e2e-tests', + '/wordpress/', '/.*/build/', '/.*/build-module/', '/.+\.native\.js$',