diff --git a/test/jest.config.ts b/test/jest.config.ts index 8e08ee1a..65674638 100755 --- a/test/jest.config.ts +++ b/test/jest.config.ts @@ -5,6 +5,7 @@ const config: JestConfigWithTsJest = { preset: "ts-jest", testRegex: String.raw`.*(test|spec)\.tsx?$`, moduleFileExtensions: ["ts", "tsx", "js", "jsx", "json", "node"], + prettierPath: undefined, }; export default config; diff --git a/test/projects/extras/tsconfig.json b/test/projects/extras/tsconfig.json index edd6eb8b..ac437d89 100755 --- a/test/projects/extras/tsconfig.json +++ b/test/projects/extras/tsconfig.json @@ -1,33 +1,23 @@ { + // "extends": "@tsconfig/node18", "include": ["src"], - "ts-node": { "require": ["typescript-transform-paths/register"] }, - "compilerOptions": { + "target": "esnext", "noEmit": true, "outDir": "dist", - "rootDir": ".", - "module": "CommonJS", "esModuleInterop": true, - "moduleResolution": "node", "declaration": true, - "baseUrl": "./src", "paths": { "#identifier": ["./id.ts"] }, - "plugins": [ - { - "transform": "typescript-transform-paths" - }, - { - "transform": "typescript-transform-paths", - "afterDeclarations": true - } + { "transform": "typescript-transform-paths" }, + { "transform": "typescript-transform-paths", "afterDeclarations": true } ] } } diff --git a/test/projects/general/tsconfig.json b/test/projects/general/tsconfig.json index e673cf54..6e5ed9e6 100644 --- a/test/projects/general/tsconfig.json +++ b/test/projects/general/tsconfig.json @@ -1,10 +1,8 @@ { + "extends": "@tsconfig/node18", "compilerOptions": { - "target": "es5", - "module": "ESNext", + "target": "esnext", "outDir": "__built", - "moduleResolution": "node", - "declaration": true, "baseUrl": "./", "paths": { @@ -13,9 +11,7 @@ "#utils/*": ["./utils/*", "./secondary/*"], "*": ["*"] }, - "esModuleInterop": true, - "plugins": [ { "transform": "typescript-transform-paths" }, { "transform": "typescript-transform-paths", "afterDeclarations": true }