Skip to content

Commit

Permalink
chore: add a mock test
Browse files Browse the repository at this point in the history
  • Loading branch information
RishikeshNK committed Nov 22, 2024
1 parent de2260c commit 3f07931
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"scripts": {
"build": "tsc",
"dev": "tsc --watch",
"test": "vitest",
"clean": "rm -rf .turbo dist node_modules",
"format": "prettier --check . --ignore-path ../../.gitignore",
"lint": "eslint",
Expand Down
7 changes: 7 additions & 0 deletions packages/api/tests/review.test.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import { describe, expect, test } from "vitest";

describe("Review Router", () => {
test("this should pass", () => {
expect(true).toBe(true);
});
});
2 changes: 1 addition & 1 deletion packages/api/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"outDir": "dist",
"tsBuildInfoFile": "node_modules/.cache/tsbuildinfo.json"
},
"include": ["src"],
"include": ["src", "tests"],
"exclude": ["node_modules"]
}

0 comments on commit 3f07931

Please sign in to comment.