Skip to content

Commit

Permalink
fixing browser tests
Browse files Browse the repository at this point in the history
  • Loading branch information
krpeacock committed Oct 23, 2023
1 parent 95f8ad2 commit 5da9f94
Show file tree
Hide file tree
Showing 5 changed files with 1,773 additions and 711 deletions.
2 changes: 1 addition & 1 deletion e2e/browser/.proxyrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"/api": {
"target": "http://127.0.0.1:4943/",
"target": "http://127.0.0.1:4943/"
}
}
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions e2e/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"version": "0.19.3",
"scripts": {
"ci": "npm run e2e",
"pree2e": "dfx deploy; dfx generate; pm2 --name parcel start npm -- start",
"e2e": "cypress run",
"setup": "dfx deploy; dfx generate; pm2 --name parcel start npm -- start",
"cypress": "cypress run",
"e2e": "npm run setup; npm run cypress",
"poste2e": "pm2 delete 0",
"eslint:fix": "npm run lint -- --fix",
"eslint": "eslint --ext '.js,.jsx,.ts,.tsx' cypress *.js",
Expand All @@ -15,7 +16,7 @@
"publish:release": "",
"test:coverage": "",
"test": "",
"start": "parcel --watch-for-stdin src/index.html"
"start": "parcel src/index.html"
},
"devDependencies": {
"@types/node": "^18.0.6",
Expand All @@ -28,7 +29,6 @@
},
"dependencies": {
"@dfinity/agent": "^0.19.3",
"@dfinity/authentication": "^0.14.1",
"@dfinity/identity": "^0.19.3",
"@dfinity/principal": "^0.19.3",
"idb-keyval": "^6.2.0"
Expand Down
Loading

0 comments on commit 5da9f94

Please sign in to comment.