diff --git a/donut-sync/test/jest-e2e.json b/donut-sync/test/jest-e2e.json index 75b798f..994b34d 100644 --- a/donut-sync/test/jest-e2e.json +++ b/donut-sync/test/jest-e2e.json @@ -4,7 +4,12 @@ "testEnvironment": "node", "testRegex": ".e2e-spec.ts$", "transform": { - "^.+\\.(t|j)s$": "ts-jest" + "^.+\\.(t|j)s$": [ + "ts-jest", + { + "tsconfig": "/tsconfig.json" + } + ] }, "moduleNameMapper": { "^(\\.{1,2}/.*)\\.js$": "$1" diff --git a/donut-sync/test/tsconfig.json b/donut-sync/test/tsconfig.json new file mode 100644 index 0000000..158d94e --- /dev/null +++ b/donut-sync/test/tsconfig.json @@ -0,0 +1,6 @@ +{ + "extends": "../tsconfig.json", + "compilerOptions": { + "rootDir": ".." + } +}