Skip to content

Commit

Permalink
Update the test environment, runner and reporter references (#539)
Browse files Browse the repository at this point in the history
* chore(e2e test setup): fix reference to test reporter

* chore(e2e tests): update testEnvironment and testRunner

* chore(e2e-tests): test latest beta version of cli-internal to avoid plugin scan errors

* chore(e2e tests): remove beta CLI tag now that CLI release is out
  • Loading branch information
phani-srikar authored Jun 13, 2022
1 parent 298190d commit 5605a24
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions packages/amplify-e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"jest": {
"verbose": false,
"preset": "ts-jest",
"testRunner": "amplify-e2e-core/runner",
"testEnvironment": "amplify-e2e-core/environment",
"testRunner": "amplify-category-api-e2e-core/runner",
"testEnvironment": "amplify-category-api-e2e-core/environment",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
Expand All @@ -75,15 +75,15 @@
"default",
"jest-junit",
[
"amplify-e2e-core/reporter",
"amplify-category-api-e2e-core/reporter",
{
"publicPath": "./amplify-e2e-reports",
"filename": "index.html",
"expand": true
}
],
[
"amplify-e2e-core/failed-test-reporter",
"amplify-category-api-e2e-core/failed-test-reporter",
{
"reportPath": "./amplify-e2e-reports/amplify-e2e-failed-test.txt"
}
Expand Down
6 changes: 3 additions & 3 deletions packages/amplify-migration-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@
"jest": {
"verbose": false,
"preset": "ts-jest",
"testRunner": "amplify-e2e-core/runner",
"testEnvironment": "amplify-e2e-core/environment",
"testRunner": "amplify-category-api-e2e-core/runner",
"testEnvironment": "amplify-category-api-e2e-core/environment",
"transform": {
"^.+\\.tsx?$": "ts-jest"
},
Expand All @@ -60,7 +60,7 @@
"default",
"jest-junit",
[
"amplify-e2e-core/reporter",
"amplify-category-api-e2e-core/reporter",
{
"publicPath": "./amplify-migration-reports",
"filename": "index.html",
Expand Down

0 comments on commit 5605a24

Please sign in to comment.