Skip to content

Commit

Permalink
Adding tests
Browse files Browse the repository at this point in the history
  • Loading branch information
erikrj committed Dec 27, 2024
1 parent 093c7ed commit 98fbd88
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions handlers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"scripts": {
"prebuild": "prettier --check . && gts lint",
"build": "tsc",
"test": "jest",
"watch": "tsc -w",
"lint": "gts lint",
"clean": "gts clean",
Expand Down
3 changes: 3 additions & 0 deletions handlers/src/empty.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
test('Empty Test', () => {
expect(true).toBeTruthy();
});
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
"build-handlers": "cd handlers && pnpm run build",
"build-cdk": "cd cdk && pnpm run build",
"build": "concurrently \"pnpm:build-handlers\" \"pnpm:build-cdk\" -c blue,green",
"test-handlers": "cd handlers && pnpm run test",
"test-cdk": "cd cdk && pnpm run test",
"test": "concurrently \"pnpm:test-handlers\" \"pnpm:test-cdk\" -c blue,green",
"fmt-handlers": "cd handlers && pnpm run fmt",
"fmt-cdk": "cd cdk && pnpm run fmt",
"fmt": "concurrently \"pnpm:fmt-handlers\" \"pnpm:fmt-cdk\" -c blue,green",
Expand Down

0 comments on commit 98fbd88

Please sign in to comment.