Skip to content

Commit

Permalink
fix: test with ts
Browse files Browse the repository at this point in the history
Signed-off-by: Julius Härtl <[email protected]>
  • Loading branch information
juliusknorr committed Mar 12, 2024
1 parent 0ed9c1c commit 017cc46
Show file tree
Hide file tree
Showing 2 changed files with 179 additions and 1 deletion.
167 changes: 167 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
"prosemirror-test-builder": "^1.1.1",
"raw-loader": "^4.0.2",
"rollup-plugin-webpack-stats": "^0.2.4",
"ts-jest": "^29.1.2",
"typescript": "^5.3.3",
"vite": "^5.1.4",
"vite-plugin-commonjs": "^0.10.1",
Expand All @@ -150,6 +151,7 @@
"testEnvironment": "jest-environment-jsdom",
"moduleFileExtensions": [
"js",
"ts",
"vue",
"md",
"html"
Expand All @@ -169,7 +171,16 @@
"^.+\\.js$": "<rootDir>/node_modules/babel-jest",
"^.+\\.mjs$": "<rootDir>/node_modules/babel-jest",
".*\\.(vue)$": "<rootDir>/node_modules/@vue/vue2-jest",
"^.+\\.(html|xml|md)$": "<rootDir>/jest-raw-loader.cjs"
"^.+\\.(html|xml|md)$": "<rootDir>/jest-raw-loader.cjs",
"\\.ts$": [
"ts-jest",
{
"useESM": true,
"tsconfig": {
"verbatimModuleSyntax": false
}
}
]
},
"snapshotSerializers": [
"<rootDir>/node_modules/jest-serializer-vue"
Expand Down

0 comments on commit 017cc46

Please sign in to comment.