Cannot write file because it would overwrite input file in 25.3.0 when allowJs enabled
See original GitHub issueIssue :
If allowJs
setting is enabled, the Cannot write file ... because it would overwrite input file
is thrown.
Expected behavior :
No error.
Debug log:
# content of ts-jest.log :
{"context":{"allowJs":false,"logLevel":20,"namespace":"jest-preset","package":"ts-jest","version":"25.3.0"},"message":"creating jest presets not handling JavaScript files","sequence":1,"time":"2020-03-30T10:27:26.784Z"}
{"context":{"logLevel":20,"namespace":"Importer","package":"ts-jest","version":"25.3.0"},"message":"creating Importer singleton","sequence":2,"time":"2020-03-30T10:27:28.272Z"}
{"context":{"allowJs":false,"logLevel":20,"namespace":"jest-preset","package":"ts-jest","version":"25.3.0"},"message":"creating jest presets not handling JavaScript files","sequence":3,"time":"2020-03-30T10:27:28.279Z"}
{"context":{"actualVersion":"25.2.4","expectedVersion":">=25 <26","logLevel":20,"namespace":"versions","package":"ts-jest","version":"25.3.0"},"message":"checking version of jest: OK","sequence":4,"time":"2020-03-30T10:27:28.281Z"}
{"context":{"baseOptions":{},"logLevel":20,"namespace":"jest-transformer","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"created new transformer","sequence":5,"time":"2020-03-30T10:27:28.282Z"}
{"context":{"fileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/lib/__tests__/index.test.ts","logLevel":20,"namespace":"jest-transformer","package":"ts-jest","transformOptions":{"config":{"automock":false,"browser":false,"cache":true,"cacheDirectory":"/private/var/folders/nq/cf77fzsx2xz2v48dzgy91fc80000gn/T/jest_dx","clearMocks":false,"coveragePathIgnorePatterns":["/node_modules/"],"cwd":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug","detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"extraGlobals":[],"forceCoverageMatch":[],"globals":{},"haste":{"computeSha1":false,"providesModuleNodeModules":[],"throwOnModuleCollision":false},"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","json","jsx","ts","tsx","node"],"moduleNameMapper":[],"modulePathIgnorePatterns":[],"name":"1d13295c71fe698d4a29b3c07853b907","prettierPath":"prettier","resetMocks":false,"resetModules":false,"restoreMocks":false,"rootDir":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug","roots":["/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug"],"runner":"jest-runner","setupFiles":[],"setupFilesAfterEnv":[],"skipFilter":false,"snapshotSerializers":[],"testEnvironment":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/jest-environment-node/build/index.js","testEnvironmentOptions":{},"testLocationInResults":false,"testMatch":["**/__tests__/**/*.[jt]s?(x)","**/?(*.)+(spec|test).[tj]s?(x)"],"testPathIgnorePatterns":["/node_modules/"],"testRegex":[],"testRunner":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/jest-jasmine2/build/index.js","testURL":"http://localhost","timers":"real","transform":[["^.+\\.tsx?$","/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/ts-jest/dist/index.js",{}]],"transformIgnorePatterns":["/node_modules/"],"watchPathIgnorePatterns":[]},"instrument":false,"rootDir":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug"},"transformerId":1,"version":"25.3.0"},"message":"computing cache key for /Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/lib/__tests__/index.test.ts","sequence":6,"time":"2020-03-30T10:27:28.283Z"}
{"context":{"logLevel":30,"namespace":"jest-transformer","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"no matching config-set found, creating a new one","sequence":7,"time":"2020-03-30T10:27:28.283Z"}
{"context":{"config":{"automock":false,"browser":false,"cache":true,"cacheDirectory":"/private/var/folders/nq/cf77fzsx2xz2v48dzgy91fc80000gn/T/jest_dx","clearMocks":false,"coveragePathIgnorePatterns":["/node_modules/"],"cwd":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug","detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"extraGlobals":[],"forceCoverageMatch":[],"globals":{},"haste":{"computeSha1":false,"providesModuleNodeModules":[],"throwOnModuleCollision":false},"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","json","jsx","ts","tsx","node"],"moduleNameMapper":[],"modulePathIgnorePatterns":[],"name":"1d13295c71fe698d4a29b3c07853b907","prettierPath":"prettier","resetMocks":false,"resetModules":false,"restoreMocks":false,"rootDir":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug","roots":["/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug"],"runner":"jest-runner","setupFiles":[],"setupFilesAfterEnv":[],"skipFilter":false,"snapshotSerializers":[],"testEnvironment":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/jest-environment-node/build/index.js","testEnvironmentOptions":{},"testLocationInResults":false,"testMatch":["**/__tests__/**/*.[jt]s?(x)","**/?(*.)+(spec|test).[tj]s?(x)"],"testPathIgnorePatterns":["/node_modules/"],"testRegex":[],"testRunner":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/jest-jasmine2/build/index.js","testURL":"http://localhost","timers":"real","transform":[["^.+\\.tsx?$","/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/ts-jest/dist/index.js",{}]],"transformIgnorePatterns":["/node_modules/"],"watchPathIgnorePatterns":[]},"logLevel":20,"namespace":"backports","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"backporting config","sequence":8,"time":"2020-03-30T10:27:28.285Z"}
{"context":{"jestConfig":{"automock":false,"browser":false,"cache":true,"cacheDirectory":"/private/var/folders/nq/cf77fzsx2xz2v48dzgy91fc80000gn/T/jest_dx","clearMocks":false,"coveragePathIgnorePatterns":["/node_modules/"],"cwd":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug","detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"extraGlobals":[],"forceCoverageMatch":[],"globals":{"ts-jest":{}},"haste":{"computeSha1":false,"providesModuleNodeModules":[],"throwOnModuleCollision":false},"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","json","jsx","ts","tsx","node"],"moduleNameMapper":[],"modulePathIgnorePatterns":[],"name":"1d13295c71fe698d4a29b3c07853b907","prettierPath":"prettier","resetMocks":false,"resetModules":false,"restoreMocks":false,"rootDir":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug","roots":["/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug"],"runner":"jest-runner","setupFiles":[],"setupFilesAfterEnv":[],"skipFilter":false,"snapshotSerializers":[],"testEnvironment":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/jest-environment-node/build/index.js","testEnvironmentOptions":{},"testLocationInResults":false,"testMatch":["**/__tests__/**/*.[jt]s?(x)","**/?(*.)+(spec|test).[tj]s?(x)"],"testPathIgnorePatterns":["/node_modules/"],"testRegex":[],"testRunner":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/jest-jasmine2/build/index.js","testURL":"http://localhost","timers":"real","transform":[["^.+\\.tsx?$","/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/ts-jest/dist/index.js",{}]],"transformIgnorePatterns":["/node_modules/"],"watchPathIgnorePatterns":[]},"logLevel":20,"namespace":"config","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"normalized jest config","sequence":9,"time":"2020-03-30T10:27:28.285Z"}
{"context":{"logLevel":20,"namespace":"config","package":"ts-jest","transformerId":1,"tsJestConfig":{"compiler":"typescript","compilerHost":false,"diagnostics":{"ignoreCodes":[6059,18002,18003],"pretty":true,"throws":true},"incremental":true,"isolatedModules":false,"packageJson":{"kind":"file"},"transformers":[],"tsConfig":{"kind":"file"}},"version":"25.3.0"},"message":"normalized ts-jest config","sequence":10,"time":"2020-03-30T10:27:28.286Z"}
{"context":{"logLevel":20,"namespace":"Importer","package":"ts-jest","requireResult":{"exists":true,"given":"typescript","path":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/typescript/lib/typescript.js"},"version":"25.3.0"},"message":"loaded module typescript","sequence":11,"time":"2020-03-30T10:27:28.511Z"}
{"context":{"logLevel":20,"namespace":"Importer","package":"ts-jest","version":"25.3.0"},"message":"patching typescript","sequence":12,"time":"2020-03-30T10:27:28.511Z"}
{"context":{"actualVersion":"3.8.3","expectedVersion":">=2.7 <4","logLevel":20,"namespace":"versions","package":"ts-jest","version":"25.3.0"},"message":"checking version of typescript: OK","sequence":13,"time":"2020-03-30T10:27:28.512Z"}
{"context":{"logLevel":20,"namespace":"config","package":"ts-jest","transformerId":1,"tsConfigFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/tsconfig.json","version":"25.3.0"},"message":"readTsConfig(): reading /Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/tsconfig.json","sequence":14,"time":"2020-03-30T10:27:28.512Z"}
{"context":{"logLevel":20,"namespace":"config","package":"ts-jest","transformerId":1,"tsconfig":{"input":{"compilerOptions":{}},"resolved":{"compileOnSave":false,"configFileSpecs":{"includeSpecs":["**/*"],"validatedIncludeSpecs":["**/*"],"wildcardDirectories":{"/users/vkrol/projects/ts-jest-25.3.0-allow-js-bug":1}},"errors":[],"fileNames":["/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/lib/__tests__/index.test.ts"],"options":{"configFilePath":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/tsconfig.json","declaration":false,"inlineSourceMap":false,"inlineSources":true,"module":1,"noEmit":false,"removeComments":false,"sourceMap":true,"target":1},"raw":{"compileOnSave":false,"compilerOptions":{}},"typeAcquisition":{"enable":false,"exclude":[],"include":[]},"wildcardDirectories":{"/users/vkrol/projects/ts-jest-25.3.0-allow-js-bug":1}}},"version":"25.3.0"},"message":"normalized typescript config","sequence":15,"time":"2020-03-30T10:27:28.527Z"}
{"context":{"cacheDirectory":"/private/var/folders/nq/cf77fzsx2xz2v48dzgy91fc80000gn/T/jest_dx/ts-jest/aa/1b533c4eebc7e0793233b75a9ab8d183cebc30","logLevel":20,"namespace":"config","package":"ts-jest","version":"25.3.0"},"message":"will use file caching","sequence":16,"time":"2020-03-30T10:27:28.529Z"}
{"context":{"logLevel":20,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"compileUsingLanguageService(): create typescript compiler","sequence":17,"time":"2020-03-30T10:27:28.529Z"}
{"context":{"logLevel":20,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"compileUsingLanguageService(): creating language service","sequence":18,"time":"2020-03-30T10:27:28.530Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/lib/__tests__/index.test.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":19,"time":"2020-03-30T10:27:28.531Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":20,"time":"2020-03-30T10:27:28.541Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":21,"time":"2020-03-30T10:27:28.545Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":22,"time":"2020-03-30T10:27:28.547Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":23,"time":"2020-03-30T10:27:28.550Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":24,"time":"2020-03-30T10:27:28.553Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":25,"time":"2020-03-30T10:27:28.555Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":26,"time":"2020-03-30T10:27:28.557Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":27,"time":"2020-03-30T10:27:28.559Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":28,"time":"2020-03-30T10:27:28.561Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":29,"time":"2020-03-30T10:27:28.564Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":30,"time":"2020-03-30T10:27:28.568Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":31,"time":"2020-03-30T10:27:28.570Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":32,"time":"2020-03-30T10:27:28.572Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":33,"time":"2020-03-30T10:27:28.575Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":34,"time":"2020-03-30T10:27:28.579Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":35,"time":"2020-03-30T10:27:28.581Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":36,"time":"2020-03-30T10:27:28.587Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":37,"time":"2020-03-30T10:27:28.589Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":38,"time":"2020-03-30T10:27:28.592Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":39,"time":"2020-03-30T10:27:28.595Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":40,"time":"2020-03-30T10:27:28.597Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":41,"time":"2020-03-30T10:27:28.600Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":42,"time":"2020-03-30T10:27:28.604Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":43,"time":"2020-03-30T10:27:28.606Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":44,"time":"2020-03-30T10:27:28.607Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":45,"time":"2020-03-30T10:27:28.610Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/babel__core/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":46,"time":"2020-03-30T10:27:28.612Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":47,"time":"2020-03-30T10:27:28.658Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":48,"time":"2020-03-30T10:27:28.661Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":49,"time":"2020-03-30T10:27:28.664Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":50,"time":"2020-03-30T10:27:28.667Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":51,"time":"2020-03-30T10:27:28.670Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":52,"time":"2020-03-30T10:27:28.675Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":53,"time":"2020-03-30T10:27:28.677Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":54,"time":"2020-03-30T10:27:28.680Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/babel__generator/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":55,"time":"2020-03-30T10:27:28.685Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@babel/types/lib/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":56,"time":"2020-03-30T10:27:28.697Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/babel__traverse/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":57,"time":"2020-03-30T10:27:28.803Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/babel__template/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":58,"time":"2020-03-30T10:27:28.856Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@babel/parser/typings/babel-parser.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":59,"time":"2020-03-30T10:27:28.859Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":60,"time":"2020-03-30T10:27:28.862Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/color-name/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":61,"time":"2020-03-30T10:27:28.864Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/istanbul-lib-coverage/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":62,"time":"2020-03-30T10:27:28.871Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/istanbul-lib-report/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":63,"time":"2020-03-30T10:27:28.875Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":64,"time":"2020-03-30T10:27:28.878Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":65,"time":"2020-03-30T10:27:28.888Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/istanbul-reports/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":66,"time":"2020-03-30T10:27:28.891Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":67,"time":"2020-03-30T10:27:28.893Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":68,"time":"2020-03-30T10:27:28.896Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/jest/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":69,"time":"2020-03-30T10:27:28.899Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":70,"time":"2020-03-30T10:27:28.943Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":71,"time":"2020-03-30T10:27:28.946Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/jest-diff/build/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":72,"time":"2020-03-30T10:27:28.951Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":73,"time":"2020-03-30T10:27:28.953Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":74,"time":"2020-03-30T10:27:28.955Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":75,"time":"2020-03-30T10:27:28.956Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":76,"time":"2020-03-30T10:27:28.957Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/jest-diff/build/cleanupSemantic.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":77,"time":"2020-03-30T10:27:28.958Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/jest-diff/build/diffLines.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":78,"time":"2020-03-30T10:27:28.961Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/jest-diff/build/types.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":79,"time":"2020-03-30T10:27:28.962Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/jest-diff/build/printDiffs.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":80,"time":"2020-03-30T10:27:28.963Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/pretty-format/build/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":81,"time":"2020-03-30T10:27:28.966Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":82,"time":"2020-03-30T10:27:28.971Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/pretty-format/build/types.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":83,"time":"2020-03-30T10:27:28.973Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/prettier/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":84,"time":"2020-03-30T10:27:28.978Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/stack-utils/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":85,"time":"2020-03-30T10:27:28.995Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/yargs/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":86,"time":"2020-03-30T10:27:28.998Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":87,"time":"2020-03-30T10:27:29.037Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"readFile","sequence":88,"time":"2020-03-30T10:27:29.040Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/@types/yargs-parser/index.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":89,"time":"2020-03-30T10:27:29.042Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/typescript/lib/lib.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":90,"time":"2020-03-30T10:27:29.044Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/typescript/lib/lib.es5.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":91,"time":"2020-03-30T10:27:29.046Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/typescript/lib/lib.dom.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":92,"time":"2020-03-30T10:27:29.185Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":93,"time":"2020-03-30T10:27:29.425Z"}
{"context":{"cacheHit":false,"logLevel":10,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/node_modules/typescript/lib/lib.scripthost.d.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"getScriptSnapshot(): cache miss","sequence":94,"time":"2020-03-30T10:27:29.426Z"}
{"context":{"fileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/lib/__tests__/index.test.ts","logLevel":20,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"updateMemoryCache(): update memory cache for language service","sequence":95,"time":"2020-03-30T10:27:30.011Z"}
{"context":{"logLevel":20,"namespace":"ts-compiler","normalizedFileName":"/Users/vkrol/Projects/ts-jest-25.3.0-allow-js-bug/lib/__tests__/index.test.ts","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"compileFn(): computing diagnostics for language service","sequence":96,"time":"2020-03-30T10:27:30.011Z"}
{"context":{"logLevel":20,"namespace":"config","package":"ts-jest","transformerId":1,"version":"25.3.0"},"message":"babel is disabled","sequence":97,"time":"2020-03-30T10:27:30.054Z"}
Minimal repo
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:12
Top Results From Across the Web
visual studio - Typescript error "Cannot write file ... because it ...
js' because it would overwrite input file. It looks like this all the time. It doesn't actually prevent building, and everything works just...
Read more >Cannot write file because it would overwrite input file TS
The error "Cannot write file because it would overwrite input file" occurs when we haven't specified the outDir directory in the exclude array...
Read more >TypeScript: cannot write file .d.ts because it would overwrite ...
d.ts files as input, and even if you explicitly put them in the exclude array. There's no way around this. Output ...
Read more >Error “Cannot write file … because it would overwrite input file.”
In this post am going to share with you the irritating typescript warnings and how it was solved for me. Below is the...
Read more >내가 만난 에러들 모음 - velog
Cannot write file '' because it would overwrite input file. 이 에러는.. tsconfig 설정 중에 발생했다. 컴파일 과정에서 js 확장자 때문에 발생한 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
“noEmit”:true
The most upvoted answers suggest to set
noEmit
totrue
or excludeoutDir
.noEmit: true
doesn’t help andoutDir
doesn’t set in the my example.