Skip to content

Commit

Permalink
test: e2e testing to spot out regressions and bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
puria committed Feb 27, 2024
1 parent b284745 commit 97277f0
Show file tree
Hide file tree
Showing 12 changed files with 1,383 additions and 48 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
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 '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 All @@ -69,12 +70,14 @@
"@semantic-release/commit-analyzer": "^11.1.0",
"@semantic-release/release-notes-generator": "^12.1.0",
"@sinclair/typebox": "^0.32.14",
"@stepci/runner": "^2.0.2",
"@swc/core": "^1.4.2",
"@swc/helpers": "^0.5.6",
"@types/fs-extra": "^11.0.4",
"@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 +88,7 @@
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-string": "^3.0.0",
"semantic-release": "^23.0.2",
"start-server-and-test": "^2.0.3",
"ts-jest": "^29.1.2",
"ts-node": "^10.9.2",
"typescript": "^5.3.3"
Expand Down
Loading

0 comments on commit 97277f0

Please sign in to comment.