Compare commits

..

No commits in common. "b9035c7338e933df7d9a2f8453a581cf78469a20" and "12b1871f6cdf9939b61a1ebb40a94e6e2bc2c621" have entirely different histories.

6 changed files with 175 additions and 2299 deletions

View file

@ -1,5 +1 @@
app.ts app.ts
tests/
jest.config.cjs
jest.setup.js

View file

@ -1,4 +0,0 @@
module.exports = {
preset: "ts-jest",
setupFiles: [ "./jest.setup.js" ]
}

View file

@ -1,3 +0,0 @@
jest.setTimeout(1 * 1000); // 1 second
jest.resetModules();
jest.resetAllMocks();

View file

@ -23,8 +23,8 @@
"scripts": { "scripts": {
"build": "tsc", "build": "tsc",
"start": "ts-node app.ts", "start": "ts-node app.ts",
"test": "jest", "test": "echo none",
"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,16 +33,8 @@
"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",
"@typescript-eslint/eslint-plugin": "^5.54.0", "eslint": "^7.17.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"
}, },

View file

@ -73,9 +73,7 @@
"./src", "./src",
], ],
"exclude": [ "exclude": [
"./tests", "./tests"
"jest.config.cjs",
"jest.setup.js"
], ],
"ts-node": { "ts-node": {
"esm": true "esm": true

2443
yarn.lock

File diff suppressed because it is too large Load diff