Skip to content
Snippets Groups Projects
Verified Commit e161d355 authored by Jan Loewe's avatar Jan Loewe :speech_balloon:
Browse files

fix(ts): fix build and tests tsconfig.json

parent f1b63192
No related branches found
No related tags found
No related merge requests found
...@@ -5,6 +5,14 @@ const config: JestConfigWithTsJest = { ...@@ -5,6 +5,14 @@ const config: JestConfigWithTsJest = {
testEnvironment: "node", testEnvironment: "node",
reporters: ["default", "jest-junit"], reporters: ["default", "jest-junit"],
coverageProvider: "v8", coverageProvider: "v8",
transform: {
"^.+\\.m?[tj]sx?$": [
"ts-jest",
{
tsconfig: "tests/tsconfig.json",
},
],
},
}; };
export default config; export default config;
...@@ -4,4 +4,7 @@ ...@@ -4,4 +4,7 @@
"declaration": true, "declaration": true,
"module": "commonjs" "module": "commonjs"
}, },
"files": [
"./index.d.ts"
]
} }
...@@ -6,9 +6,6 @@ ...@@ -6,9 +6,6 @@
"sourceMap": true, "sourceMap": true,
"outDir": "./lib", "outDir": "./lib",
}, },
"files": [
"./tests/index.d.ts"
],
"include": [ "include": [
"src" "src"
], ],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment