Skip to content

Commit d83b189

Browse files
committed
chore: add jest dependencies and update typescript config
1 parent 36c4fd4 commit d83b189

File tree

3 files changed

+208
-4
lines changed

3 files changed

+208
-4
lines changed

packages/shortest/package.json

+6-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
"test:ai": "tsx scripts/test-ai.ts",
3232
"test:browser": "tsx scripts/test-browser.ts",
3333
"test:coordinates": "tsx scripts/test-coordinates.ts",
34-
"test:github": "tsx scripts/test-github.ts"
34+
"test:github": "tsx scripts/test-github.ts",
35+
"test:assertion": "tsx scripts/test-assertion.ts"
3536
},
3637
"dependencies": {
3738
"@anthropic-ai/sdk": "0.32.0",
@@ -43,11 +44,13 @@
4344
"dotenv": "^16.4.5",
4445
"otplib": "^12.0.1",
4546
"picocolors": "^1.0.0",
46-
"playwright": "^1.42.1"
47+
"playwright": "^1.42.1",
48+
"expect": "^29.7.0"
4749
},
4850
"devDependencies": {
4951
"@types/node": "^20.11.24",
5052
"tsx": "^4.7.1",
51-
"typescript": "~5.6.2"
53+
"typescript": "~5.6.2",
54+
"@types/jest": "^29.5.12"
5255
}
5356
}

packages/shortest/tsconfig.json

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@
88
"declaration": true,
99
"esModuleInterop": true,
1010
"skipLibCheck": true,
11-
"rootDir": "./src"
11+
"rootDir": "./src",
12+
"types": ["node", "jest"]
1213
},
1314
"include": ["src"],
1415
"exclude": ["node_modules", "dist"]

0 commit comments

Comments
 (0)