Skip to content

Commit

Permalink
test: e2e testing to spot out regressions and bugs (#59)
Browse files Browse the repository at this point in the history
* test: e2e testing to spot out regressions and bugs

* fix: unavailable global script
  • Loading branch information
puria authored Feb 27, 2024
1 parent b284745 commit 1224b4b
Show file tree
Hide file tree
Showing 13 changed files with 1,591 additions and 58 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
run: |
pnpm i
pnpm test
pnpm e2e
- name: Build executable
run: |
make build
Expand Down
2 changes: 1 addition & 1 deletion .tool-versions
Original file line number Diff line number Diff line change
@@ -1 +1 @@
nodejs 21.2.0
nodejs latest
10 changes: 7 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@
"sea": "pnpm b && pnpm p",
"dev": "nodemon -e ts -w ./src -x pnpm run watch -z ./contracts -p 3000",
"watch": "node --loader ts-node/esm src/index.ts",
"debug": "nodemon --inspect -e ts -w ./src -x pnpm run watch",
"test": "jest"
"test": "jest",
"start": "node --loader ts-node/esm src/index.ts -z ./tests/fixtures -p 3000",
"e2e": "start-server-and-test http-get://0.0.0.0:3000 'pnpm stepci run ./tests/workflow.stepci.yml'"
},
"engines": {
"node": ">=20.0.0 <22.0.0"
Expand All @@ -42,9 +43,9 @@
"@slangroom/fs": "^1.14.1",
"@slangroom/git": "^1.14.1",
"@slangroom/http": "^1.14.1",
"@slangroom/oauth": "^1.14.1",
"@slangroom/wallet": "^1.14.1",
"@slangroom/zencode": "^1.14.1",
"@slangroom/oauth": "^1.14.1",
"@tgwf/co2": "^0.14.3",
"@typescript-eslint/parser": "^7.0.2",
"ajv": "^8.12.0",
Expand Down Expand Up @@ -75,6 +76,7 @@
"@types/jest": "^29.5.12",
"@types/lodash": "^4.14.202",
"@types/node": "^20.11.20",
"concurrently": "^8.2.2",
"jest": "^29.7.0",
"nodemon": "^3.1.0",
"openapi-types": "^12.1.3",
Expand All @@ -85,6 +87,8 @@
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-string": "^3.0.0",
"semantic-release": "^23.0.2",
"start-server-and-test": "^2.0.3",
"stepci": "^2.8.0",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
Expand Down
Loading

0 comments on commit 1224b4b

Please sign in to comment.