Install jest

This commit is contained in:
Ethan Lane 2023-03-01 17:51:41 +00:00
parent 12b1871f6c
commit 2815f6ef12
2 changed files with 2284 additions and 173 deletions

View file

@ -23,8 +23,8 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"start": "ts-node app.ts", "start": "ts-node app.ts",
"test": "echo none", "test": "jest",
"lint": "eslint ." "lint": "eslint"
}, },
"bugs": { "bugs": {
"url": "https://gitea.vylpes.xyz/RabbitLabs/random-bunny/issues", "url": "https://gitea.vylpes.xyz/RabbitLabs/random-bunny/issues",
@ -33,8 +33,16 @@
"homepage": "https://gitea.vylpes.xyz/RabbitLabs/random-bunny", "homepage": "https://gitea.vylpes.xyz/RabbitLabs/random-bunny",
"funding": "https://ko-fi.com/vylpes", "funding": "https://ko-fi.com/vylpes",
"devDependencies": { "devDependencies": {
"@types/eslint": "^8.21.1",
"@types/jest": "^29.4.0",
"@types/node": "^18.0.0", "@types/node": "^18.0.0",
"eslint": "^7.17.0", "@typescript-eslint/eslint-plugin": "^5.54.0",
"@typescript-eslint/parser": "^5.54.0",
"eslint": "^8.35.0",
"jest": "^29.4.3",
"jest-mock-extended": "^3.0.3",
"ts-jest": "^29.0.5",
"ts-mockito": "^2.6.1",
"ts-node": "^10.9.1", "ts-node": "^10.9.1",
"typescript": "^4.9.5" "typescript": "^4.9.5"
}, },

2443
yarn.lock

File diff suppressed because it is too large Load diff