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

E2E tests: clean unused dependencies #21639

Merged
merged 4 commits into from
Nov 8, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
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
4 changes: 4 additions & 0 deletions projects/plugins/boost/changelog/e2e-clean-deps
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Significance: minor
Type: removed

E2E tests: cleaned up some unused dependencies
3 changes: 1 addition & 2 deletions projects/plugins/boost/tests/e2e/.eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// .eslintrc.js
module.exports = {
extends: [ './node_modules/jetpack-e2e-commons/.eslintrc.js' ],
extends: [ require.resolve( 'jetpack-e2e-commons/.eslintrc.js' ) ],
};
13 changes: 1 addition & 12 deletions projects/plugins/boost/tests/e2e/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,5 @@ module.exports = {
testEnvironmentOptions: {
resultsDir: 'output/allure-results',
},
reporters: [
'default',
[
'jest-junit',
{
suiteName: 'Jetpack Boost E2E tests',
outputDirectory: 'output/reports',
outputName: 'junit-results.xml',
uniqueOutputName: 'true',
},
],
],
reporters: [],
};
16 changes: 7 additions & 9 deletions projects/plugins/boost/tests/e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,16 +28,14 @@
"preinstall": "pnpm --prefix ../../../../../tools/e2e-commons install"
},
"devDependencies": {
"@babel/core": "^7.15.5",
"@babel/preset-env": "^7.15.6",
"@wordpress/eslint-plugin": "^9.1.2",
"babel-jest": "^27.2.4",
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.0",
"@wordpress/eslint-plugin": "^9.2.0",
"config": "^3.3.6",
"eslint": "^7.32.0",
"eslint-plugin-jest": "^24.5.2",
"expect-playwright": "^0.7.2",
"jest": "^27.2.4",
"jest-junit": "^12.3.0",
"eslint": "7.32.0",
"eslint-plugin-jest": "^25.2.2",
"expect-playwright": "^0.8.0",
"jest": "^27.3.1",
"jest-runner-groups": "^2.1.0",
"jetpack-cli": "link:../../../../../tools/cli",
"jetpack-e2e-commons": "link:../../../../../tools/e2e-commons"
Expand Down
Loading