feat: configuring tests

This commit is contained in:
Daniel Bauer
2024-12-11 00:07:03 +01:00
parent eed1416774
commit f454ce9db7
3 changed files with 3066 additions and 21 deletions

3071
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -13,15 +13,17 @@
"author": "",
"license": "MIT",
"devDependencies": {
"@types/jest": "^29.5.14",
"@types/node": "^16.11.6",
"@typescript-eslint/eslint-plugin": "5.29.0",
"@typescript-eslint/parser": "5.29.0",
"babel-jest": "^29.7.0",
"builtin-modules": "3.3.0",
"esbuild": "0.17.3",
"obsidian": "latest",
"ts-jest": "^29.2.5",
"tslib": "2.4.0",
"typescript": "4.7.4",
"jest": "29.7.0"
"typescript": "4.7.4"
},
"dependencies": {
"@rollup/plugin-commonjs": "^28.0.1",
@@ -29,5 +31,10 @@
"rollup": "^2.79.2",
"rollup-plugin-copy": "^3.5.0",
"rollup-plugin-typescript2": "^0.36.0"
},
"jest": {
"transform": {
"^.+\\.(ts|tsx|js|jsx)$": "ts-jest"
}
}
}

5
src/mytest.test.js Normal file
View File

@@ -0,0 +1,5 @@
describe("testing setup", () => {
test("testing setup", () => {
expect(1).toBe(1)
})
})