-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: testing setup and response asserts
- Loading branch information
brady.ouren
committed
Jul 23, 2024
1 parent
7c22996
commit b94e387
Showing
7 changed files
with
162 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "npm: testenv:run", | ||
"type": "shell", | ||
"command": "npm run testenv:run -- -d", | ||
"isBackground": true, | ||
"options": { | ||
"cwd": "${workspaceFolder}/api/", | ||
}, | ||
"problemMatcher": { | ||
"pattern": { | ||
"regexp": ".", | ||
"file": 1, | ||
"location": 2, | ||
"message": 3 | ||
}, | ||
"background": { | ||
"activeOnStart": true, | ||
"beginsPattern": ".", | ||
"endsPattern": "." | ||
} | ||
} | ||
}, | ||
{ | ||
"label": "npm: testenv:stop", | ||
"type": "shell", | ||
"command": "npm run testenv:stop", | ||
"options": { | ||
"cwd": "${workspaceFolder}/api/", | ||
}, | ||
"presentation": { | ||
"echo": true, | ||
"reveal": "silent", | ||
"focus": false, | ||
"panel": "shared", | ||
"showReuseMessage": true, | ||
"clear": false | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,10 @@ | |
"generate:vercel": "npm run generate:git-info && npm run generate:openapi && npm run generate:docs", | ||
"lint:eslint": "eslint . --ext .ts,.tsx -f unix", | ||
"lint:prettier": "prettier --check src/**/*.ts tests/**/*.ts", | ||
"lint:unused-exports": "ts-unused-exports tsconfig.json --showLineNumber --excludePathsFromReport=util/*" | ||
"lint:unused-exports": "ts-unused-exports tsconfig.json --showLineNumber --excludePathsFromReport=util/*", | ||
"testenv:run": "docker-compose -f ../docker/docker-compose.dev.postgres.yml up", | ||
"testenv:stop": "docker-compose -f ../docker/docker-compose.dev.postgres.yml down -v -t 0", | ||
"testenv:logs": "docker-compose -f ../docker/docker-compose.dev.postgres.yml logs -t -f" | ||
}, | ||
"author": "Hiro Systems PBC <[email protected]> (https://hiro.so)", | ||
"license": "Apache 2.0", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters