question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

import.meta not allowed

See original GitHub issue

Issue :

In a node project, I’m using import.meta.url to get __dirname like so:

const dirname = path.dirname(new URL(import.meta.url).pathname);

my tsconfig:

{
  "compilerOptions": {
    "baseUrl": "lib",
    "declaration": true,
    "esModuleInterop": true,
    "module": "ESNext",
    "moduleResolution": "node",
    "outDir": "dist",
    "strict": true,
    "target": "ESNext"
  }
}

Running tsc gives me no issues, but running jest results in this error:

The 'import.meta' meta-property is only allowed using 'ESNext' for the 'target' and 'module' compiler options.

I have tried a few different places for the tsconfig and have even tried to use a separate config for ts-jest, but I get this error every time.

Expected behavior :

Normal compilation and successful test.

Debug log:

log file content
# content of ts-jest.log :
{"context":{"logLevel":20,"namespace":"Importer","package":"ts-jest","version":"24.0.2"},"message":"creating Importer singleton","sequence":1,"time":"2019-08-14T20:04:06.329Z"}
{"context":{"allowJs":false,"logLevel":20,"namespace":"jest-preset","package":"ts-jest","version":"24.0.2"},"message":"creating jest presets not handling JavaScript files","sequence":2,"time":"2019-08-14T20:04:06.336Z"}
{"context":{"actualVersion":"24.8.0","expectedVersion":">=24 <25","logLevel":20,"namespace":"versions","package":"ts-jest","version":"24.0.2"},"message":"checking version of jest: OK","sequence":3,"time":"2019-08-14T20:04:06.339Z"}
{"context":{"baseOptions":{},"logLevel":20,"namespace":"jest-transformer","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"created new transformer","sequence":4,"time":"2019-08-14T20:04:06.339Z"}
{"context":{"fileName":"/users/teddy/project/lib/language/__tests__/index.test.ts","logLevel":20,"namespace":"jest-transformer","package":"ts-jest","transformOptions":{"config":{"automock":false,"browser":false,"cache":true,"cacheDirectory":"/private/var/folders/25/8lt2lnwj66qc3f54hwylfy5m0000gn/T/jest_dx","clearMocks":false,"coveragePathIgnorePatterns":["/node_modules/"],"cwd":"/users/teddy/project","dependencyExtractor":null,"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"filter":null,"forceCoverageMatch":[],"globalSetup":null,"globalTeardown":null,"globals":{},"haste":{"computeSha1":false,"providesModuleNodeModules":[],"throwOnModuleCollision":false},"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","json","jsx","ts","tsx","node"],"moduleNameMapper":{},"modulePathIgnorePatterns":[".yarn_cache"],"name":"daa62f0157dd9296f5160a0bf13f5a4c","prettierPath":"prettier","resetMocks":false,"resetModules":false,"resolver":null,"restoreMocks":false,"rootDir":"/users/teddy/project","roots":["/users/teddy/project"],"runner":"jest-runner","setupFiles":[],"setupFilesAfterEnv":[],"skipFilter":false,"snapshotSerializers":[],"testEnvironment":"/users/teddy/project/node_modules/jest-environment-node/build/index.js","testEnvironmentOptions":{},"testLocationInResults":false,"testMatch":["**/__tests__/**/*.[jt]s?(x)","**/?(*.)+(spec|test).[tj]s?(x)"],"testPathIgnorePatterns":["/dist/"],"testRegex":[],"testRunner":"/users/teddy/project/node_modules/jest-jasmine2/build/index.js","testURL":"http://localhost","timers":"fake","transform":[["^.+\\.ts?$","/users/teddy/project/node_modules/ts-jest/dist/index.js"]],"transformIgnorePatterns":["/node_modules/"],"watchPathIgnorePatterns":[]},"instrument":false,"rootDir":"/users/teddy/project"},"transformerId":1,"version":"24.0.2"},"message":"computing cache key for /users/teddy/project/lib/language/__tests__/index.test.ts","sequence":5,"time":"2019-08-14T20:04:06.339Z"}
{"context":{"logLevel":30,"namespace":"jest-transformer","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"no matching config-set found, creating a new one","sequence":6,"time":"2019-08-14T20:04:06.340Z"}
{"context":{"config":{"automock":false,"browser":false,"cache":true,"cacheDirectory":"/private/var/folders/25/8lt2lnwj66qc3f54hwylfy5m0000gn/T/jest_dx","clearMocks":false,"coveragePathIgnorePatterns":["/node_modules/"],"cwd":"/users/teddy/project","dependencyExtractor":null,"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"filter":null,"forceCoverageMatch":[],"globalSetup":null,"globalTeardown":null,"globals":{},"haste":{"computeSha1":false,"providesModuleNodeModules":[],"throwOnModuleCollision":false},"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","json","jsx","ts","tsx","node"],"moduleNameMapper":{},"modulePathIgnorePatterns":[".yarn_cache"],"name":"daa62f0157dd9296f5160a0bf13f5a4c","prettierPath":"prettier","resetMocks":false,"resetModules":false,"resolver":null,"restoreMocks":false,"rootDir":"/users/teddy/project","roots":["/users/teddy/project"],"runner":"jest-runner","setupFiles":[],"setupFilesAfterEnv":[],"skipFilter":false,"snapshotSerializers":[],"testEnvironment":"/users/teddy/project/node_modules/jest-environment-node/build/index.js","testEnvironmentOptions":{},"testLocationInResults":false,"testMatch":["**/__tests__/**/*.[jt]s?(x)","**/?(*.)+(spec|test).[tj]s?(x)"],"testPathIgnorePatterns":["/dist/"],"testRegex":[],"testRunner":"/users/teddy/project/node_modules/jest-jasmine2/build/index.js","testURL":"http://localhost","timers":"fake","transform":[["^.+\\.ts?$","/users/teddy/project/node_modules/ts-jest/dist/index.js"]],"transformIgnorePatterns":["/node_modules/"],"watchPathIgnorePatterns":[]},"logLevel":20,"namespace":"backports","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"backporting config","sequence":7,"time":"2019-08-14T20:04:06.340Z"}
{"context":{"jestConfig":{"automock":false,"browser":false,"cache":true,"cacheDirectory":"/private/var/folders/25/8lt2lnwj66qc3f54hwylfy5m0000gn/T/jest_dx","clearMocks":false,"coveragePathIgnorePatterns":["/node_modules/"],"cwd":"/users/teddy/project","dependencyExtractor":null,"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"filter":null,"forceCoverageMatch":[],"globalSetup":null,"globalTeardown":null,"globals":{"ts-jest":{}},"haste":{"computeSha1":false,"providesModuleNodeModules":[],"throwOnModuleCollision":false},"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","json","jsx","ts","tsx","node"],"moduleNameMapper":{},"modulePathIgnorePatterns":[".yarn_cache"],"name":"daa62f0157dd9296f5160a0bf13f5a4c","prettierPath":"prettier","resetMocks":false,"resetModules":false,"resolver":null,"restoreMocks":false,"rootDir":"/users/teddy/project","roots":["/users/teddy/project"],"runner":"jest-runner","setupFiles":[],"setupFilesAfterEnv":[],"skipFilter":false,"snapshotSerializers":[],"testEnvironment":"/users/teddy/project/node_modules/jest-environment-node/build/index.js","testEnvironmentOptions":{},"testLocationInResults":false,"testMatch":["**/__tests__/**/*.[jt]s?(x)","**/?(*.)+(spec|test).[tj]s?(x)"],"testPathIgnorePatterns":["/dist/"],"testRegex":[],"testRunner":"/users/teddy/project/node_modules/jest-jasmine2/build/index.js","testURL":"http://localhost","timers":"fake","transform":[["^.+\\.ts?$","/users/teddy/project/node_modules/ts-jest/dist/index.js"]],"transformIgnorePatterns":["/node_modules/"],"watchPathIgnorePatterns":[]},"logLevel":20,"namespace":"config","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"normalized jest config","sequence":8,"time":"2019-08-14T20:04:06.340Z"}
{"context":{"logLevel":20,"namespace":"config","package":"ts-jest","transformerId":1,"tsJestConfig":{"compiler":"typescript","diagnostics":{"ignoreCodes":[6059,18002,18003],"pretty":true,"throws":true},"isolatedModules":false,"packageJson":{"kind":"file"},"transformers":[],"tsConfig":{"kind":"file"}},"version":"24.0.2"},"message":"normalized ts-jest config","sequence":9,"time":"2019-08-14T20:04:06.341Z"}
{"context":{"logLevel":20,"namespace":"config","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"babel is disabled","sequence":10,"time":"2019-08-14T20:04:06.355Z"}
{"context":{"logLevel":20,"namespace":"Importer","package":"ts-jest","requireResult":{"exists":true,"given":"typescript","path":"/users/teddy/project/node_modules/typescript/lib/typescript.js"},"version":"24.0.2"},"message":"loaded module typescript","sequence":11,"time":"2019-08-14T20:04:06.573Z"}
{"context":{"logLevel":20,"namespace":"Importer","package":"ts-jest","version":"24.0.2"},"message":"patching typescript","sequence":12,"time":"2019-08-14T20:04:06.573Z"}
{"context":{"actualVersion":"3.5.3","expectedVersion":">=2.7 <4","logLevel":20,"namespace":"versions","package":"ts-jest","version":"24.0.2"},"message":"checking version of typescript: OK","sequence":13,"time":"2019-08-14T20:04:06.574Z"}
{"context":{"logLevel":20,"namespace":"config","package":"ts-jest","transformerId":1,"tsConfigFileName":"/users/teddy/project/tsconfig.json","version":"24.0.2"},"message":"readTsConfig(): reading /users/teddy/project/tsconfig.json","sequence":14,"time":"2019-08-14T20:04:06.574Z"}
{"context":{"logLevel":20,"namespace":"config","package":"ts-jest","transformerId":1,"tsconfig":{"input":{"compilerOptions":{"baseUrl":"lib","declaration":true,"esModuleInterop":true,"module":"ESNext","moduleResolution":"node","outDir":"dist","strict":true,"target":"ESNext"}},"resolved":{"compileOnSave":false,"configFileSpecs":{"excludeSpecs":["dist"],"includeSpecs":["**/*"],"validatedExcludeSpecs":["dist"],"validatedIncludeSpecs":["**/*"],"wildcardDirectories":{"/users/teddy/project":1}},"errors":[],"fileNames":["/users/teddy/project/lib/language/country.ts","/users/teddy/project/lib/language/index.ts","/users/teddy/project/lib/language/language.ts","/users/teddy/project/lib/language/locale.ts","/users/teddy/project/lib/language/states.ts","/users/teddy/project/lib/language/__tests__/index.test.ts","/users/teddy/project/lib/language/dist/country.d.ts","/users/teddy/project/lib/language/dist/index.d.ts","/users/teddy/project/lib/language/dist/language.d.ts","/users/teddy/project/lib/language/dist/locale.d.ts","/users/teddy/project/lib/language/dist/states.d.ts"],"options":{"baseUrl":"/users/teddy/project/lib","configFilePath":"/users/teddy/project/tsconfig.json","declaration":false,"esModuleInterop":true,"inlineSourceMap":false,"inlineSources":true,"module":1,"moduleResolution":2,"noEmit":false,"outDir":"$$ts-jest$$","removeComments":false,"sourceMap":true,"strict":true,"target":8},"raw":{"compileOnSave":false,"compilerOptions":{"baseUrl":"lib","declaration":true,"esModuleInterop":true,"module":"ESNext","moduleResolution":"node","outDir":"dist","strict":true,"target":"ESNext"}},"typeAcquisition":{"enable":false,"exclude":[],"include":[]},"wildcardDirectories":{"/users/teddy/project":1}}},"version":"24.0.2"},"message":"normalized typescript config","sequence":15,"time":"2019-08-14T20:04:06.588Z"}
{"context":{"fileName":"/users/teddy/project/lib/language/index.ts","logLevel":20,"namespace":"jest-transformer","package":"ts-jest","transformOptions":{"config":{"automock":false,"browser":false,"cache":true,"cacheDirectory":"/private/var/folders/25/8lt2lnwj66qc3f54hwylfy5m0000gn/T/jest_dx","clearMocks":false,"coveragePathIgnorePatterns":["/node_modules/"],"cwd":"/users/teddy/project","dependencyExtractor":null,"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"filter":null,"forceCoverageMatch":[],"globalSetup":null,"globalTeardown":null,"globals":{},"haste":{"computeSha1":false,"providesModuleNodeModules":[],"throwOnModuleCollision":false},"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","json","jsx","ts","tsx","node"],"moduleNameMapper":{},"modulePathIgnorePatterns":[".yarn_cache"],"name":"daa62f0157dd9296f5160a0bf13f5a4c","prettierPath":"prettier","resetMocks":false,"resetModules":false,"resolver":null,"restoreMocks":false,"rootDir":"/users/teddy/project","roots":["/users/teddy/project"],"runner":"jest-runner","setupFiles":[],"setupFilesAfterEnv":[],"skipFilter":false,"snapshotSerializers":[],"testEnvironment":"/users/teddy/project/node_modules/jest-environment-node/build/index.js","testEnvironmentOptions":{},"testLocationInResults":false,"testMatch":["**/__tests__/**/*.[jt]s?(x)","**/?(*.)+(spec|test).[tj]s?(x)"],"testPathIgnorePatterns":["/dist/"],"testRegex":[],"testRunner":"/users/teddy/project/node_modules/jest-jasmine2/build/index.js","testURL":"http://localhost","timers":"fake","transform":[["^.+\\.ts?$","/users/teddy/project/node_modules/ts-jest/dist/index.js"]],"transformIgnorePatterns":["/node_modules/"],"watchPathIgnorePatterns":[]},"instrument":false,"rootDir":"/users/teddy/project"},"transformerId":1,"version":"24.0.2"},"message":"computing cache key for /users/teddy/project/lib/language/index.ts","sequence":16,"time":"2019-08-14T20:04:06.591Z"}
{"context":{"fileName":"/users/teddy/project/lib/language/country.ts","logLevel":20,"namespace":"jest-transformer","package":"ts-jest","transformOptions":{"config":{"automock":false,"browser":false,"cache":true,"cacheDirectory":"/private/var/folders/25/8lt2lnwj66qc3f54hwylfy5m0000gn/T/jest_dx","clearMocks":false,"coveragePathIgnorePatterns":["/node_modules/"],"cwd":"/users/teddy/project","dependencyExtractor":null,"detectLeaks":false,"detectOpenHandles":false,"errorOnDeprecated":false,"filter":null,"forceCoverageMatch":[],"globalSetup":null,"globalTeardown":null,"globals":{},"haste":{"computeSha1":false,"providesModuleNodeModules":[],"throwOnModuleCollision":false},"moduleDirectories":["node_modules"],"moduleFileExtensions":["js","json","jsx","ts","tsx","node"],"moduleNameMapper":{},"modulePathIgnorePatterns":[".yarn_cache"],"name":"daa62f0157dd9296f5160a0bf13f5a4c","prettierPath":"prettier","resetMocks":false,"resetModules":false,"resolver":null,"restoreMocks":false,"rootDir":"/users/teddy/project","roots":["/users/teddy/project"],"runner":"jest-runner","setupFiles":[],"setupFilesAfterEnv":[],"skipFilter":false,"snapshotSerializers":[],"testEnvironment":"/users/teddy/project/node_modules/jest-environment-node/build/index.js","testEnvironmentOptions":{},"testLocationInResults":false,"testMatch":["**/__tests__/**/*.[jt]s?(x)","**/?(*.)+(spec|test).[tj]s?(x)"],"testPathIgnorePatterns":["/dist/"],"testRegex":[],"testRunner":"/users/teddy/project/node_modules/jest-jasmine2/build/index.js","testURL":"http://localhost","timers":"fake","transform":[["^.+\\.ts?$","/users/teddy/project/node_modules/ts-jest/dist/index.js"]],"transformIgnorePatterns":["/node_modules/"],"watchPathIgnorePatterns":[]},"instrument":false,"rootDir":"/users/teddy/project"},"transformerId":1,"version":"24.0.2"},"message":"computing cache key for /users/teddy/project/lib/language/country.ts","sequence":17,"time":"2019-08-14T20:04:06.592Z"}
{"context":{"fileName":"/users/teddy/project/lib/language/country.ts","logLevel":20,"namespace":"jest-transformer","package":"ts-jest","transformOptions":{"instrument":false},"transformerId":1,"version":"24.0.2"},"message":"processing /users/teddy/project/lib/language/country.ts","sequence":18,"time":"2019-08-14T20:04:06.592Z"}
{"context":{"logLevel":20,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"creating typescript compiler (language service)","sequence":19,"time":"2019-08-14T20:04:06.593Z"}
{"context":{"cacheDirectory":"/private/var/folders/25/8lt2lnwj66qc3f54hwylfy5m0000gn/T/jest_dx/ts-jest/cd/34e08961f6910c2d0495e3025f78fcd8b67555","logLevel":20,"namespace":"config","package":"ts-jest","version":"24.0.2"},"message":"will use file caching","sequence":20,"time":"2019-08-14T20:04:06.593Z"}
{"context":{"logLevel":20,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"creating language service","sequence":21,"time":"2019-08-14T20:04:06.593Z"}
{"context":{"fileName":"/users/teddy/project/lib/language/country.ts","logLevel":20,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readThrough(): cache miss","sequence":22,"time":"2019-08-14T20:04:06.594Z"}
{"context":{"fileName":"/users/teddy/project/lib/language/country.ts","logLevel":20,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getOutput(): compiling using language service","sequence":23,"time":"2019-08-14T20:04:06.594Z"}
{"context":{"fileName":"/users/teddy/project/lib/language/country.ts","logLevel":20,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"updateMemoryCache()","sequence":24,"time":"2019-08-14T20:04:06.594Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/country.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":25,"time":"2019-08-14T20:04:06.595Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/lib/language/index.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":26,"time":"2019-08-14T20:04:06.595Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/lib/language/language.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":27,"time":"2019-08-14T20:04:06.595Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/lib/language/locale.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":28,"time":"2019-08-14T20:04:06.596Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/lib/language/states.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":29,"time":"2019-08-14T20:04:06.596Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/lib/language/__tests__/index.test.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":30,"time":"2019-08-14T20:04:06.596Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/lib/language/dist/country.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":31,"time":"2019-08-14T20:04:06.597Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/lib/language/dist/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":32,"time":"2019-08-14T20:04:06.597Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/lib/language/dist/language.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":33,"time":"2019-08-14T20:04:06.597Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/lib/language/dist/locale.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":34,"time":"2019-08-14T20:04:06.598Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/lib/language/dist/states.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":35,"time":"2019-08-14T20:04:06.598Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":36,"time":"2019-08-14T20:04:06.621Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":37,"time":"2019-08-14T20:04:06.623Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":38,"time":"2019-08-14T20:04:06.623Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":39,"time":"2019-08-14T20:04:06.624Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":40,"time":"2019-08-14T20:04:06.627Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":41,"time":"2019-08-14T20:04:06.628Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":42,"time":"2019-08-14T20:04:06.629Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":43,"time":"2019-08-14T20:04:06.629Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":44,"time":"2019-08-14T20:04:06.631Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":45,"time":"2019-08-14T20:04:06.632Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":46,"time":"2019-08-14T20:04:06.634Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":47,"time":"2019-08-14T20:04:06.636Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":48,"time":"2019-08-14T20:04:06.637Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":49,"time":"2019-08-14T20:04:06.638Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":50,"time":"2019-08-14T20:04:06.639Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":51,"time":"2019-08-14T20:04:06.641Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":52,"time":"2019-08-14T20:04:06.642Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":53,"time":"2019-08-14T20:04:06.643Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":54,"time":"2019-08-14T20:04:06.644Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":55,"time":"2019-08-14T20:04:06.644Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":56,"time":"2019-08-14T20:04:06.646Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":57,"time":"2019-08-14T20:04:06.646Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":58,"time":"2019-08-14T20:04:06.650Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":59,"time":"2019-08-14T20:04:06.651Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/babel__core/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":60,"time":"2019-08-14T20:04:06.651Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":61,"time":"2019-08-14T20:04:06.668Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":62,"time":"2019-08-14T20:04:06.670Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":63,"time":"2019-08-14T20:04:06.671Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":64,"time":"2019-08-14T20:04:06.672Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":65,"time":"2019-08-14T20:04:06.673Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":66,"time":"2019-08-14T20:04:06.675Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":67,"time":"2019-08-14T20:04:06.676Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":68,"time":"2019-08-14T20:04:06.677Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/babel__generator/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":69,"time":"2019-08-14T20:04:06.677Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@babel/types/lib/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":70,"time":"2019-08-14T20:04:06.680Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/babel__traverse/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":71,"time":"2019-08-14T20:04:06.714Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/babel__template/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":72,"time":"2019-08-14T20:04:06.740Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":73,"time":"2019-08-14T20:04:06.741Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/babel__template/node_modules/@babel/parser/typings/babel-parser.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":74,"time":"2019-08-14T20:04:06.742Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/babel__core/node_modules/@babel/parser/typings/babel-parser.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":75,"time":"2019-08-14T20:04:06.745Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/istanbul-lib-coverage/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":76,"time":"2019-08-14T20:04:06.746Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/istanbul-lib-report/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":77,"time":"2019-08-14T20:04:06.747Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":78,"time":"2019-08-14T20:04:06.748Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":79,"time":"2019-08-14T20:04:06.750Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/istanbul-reports/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":80,"time":"2019-08-14T20:04:06.751Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":81,"time":"2019-08-14T20:04:06.752Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":82,"time":"2019-08-14T20:04:06.753Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/jest/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":83,"time":"2019-08-14T20:04:06.754Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":84,"time":"2019-08-14T20:04:06.766Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/jest-diff/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":85,"time":"2019-08-14T20:04:06.766Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":86,"time":"2019-08-14T20:04:06.768Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/jest-diff/build/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":87,"time":"2019-08-14T20:04:06.768Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":88,"time":"2019-08-14T20:04:06.770Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/jest-diff/build/types.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":89,"time":"2019-08-14T20:04:06.770Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/ts3.2/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":90,"time":"2019-08-14T20:04:06.770Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/base.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":91,"time":"2019-08-14T20:04:06.771Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/globals.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":92,"time":"2019-08-14T20:04:06.772Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/assert.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":93,"time":"2019-08-14T20:04:06.784Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/async_hooks.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":94,"time":"2019-08-14T20:04:06.785Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/buffer.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":95,"time":"2019-08-14T20:04:06.788Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/child_process.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":96,"time":"2019-08-14T20:04:06.788Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":97,"time":"2019-08-14T20:04:06.795Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":98,"time":"2019-08-14T20:04:06.796Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/cluster.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":99,"time":"2019-08-14T20:04:06.799Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/console.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":100,"time":"2019-08-14T20:04:06.804Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/constants.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":101,"time":"2019-08-14T20:04:06.805Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/crypto.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":102,"time":"2019-08-14T20:04:06.808Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/dgram.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":103,"time":"2019-08-14T20:04:06.812Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/dns.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":104,"time":"2019-08-14T20:04:06.815Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/domain.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":105,"time":"2019-08-14T20:04:06.818Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/events.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":106,"time":"2019-08-14T20:04:06.819Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/fs.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":107,"time":"2019-08-14T20:04:06.820Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":108,"time":"2019-08-14T20:04:06.842Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":109,"time":"2019-08-14T20:04:06.844Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/http.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":110,"time":"2019-08-14T20:04:06.844Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/http2.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":111,"time":"2019-08-14T20:04:06.847Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/https.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":112,"time":"2019-08-14T20:04:06.858Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/inspector.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":113,"time":"2019-08-14T20:04:06.859Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/module.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":114,"time":"2019-08-14T20:04:06.875Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/net.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":115,"time":"2019-08-14T20:04:06.875Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/os.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":116,"time":"2019-08-14T20:04:06.877Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/path.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":117,"time":"2019-08-14T20:04:06.878Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/perf_hooks.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":118,"time":"2019-08-14T20:04:06.879Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/process.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":119,"time":"2019-08-14T20:04:06.882Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/punycode.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":120,"time":"2019-08-14T20:04:06.883Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/querystring.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":121,"time":"2019-08-14T20:04:06.883Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/readline.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":122,"time":"2019-08-14T20:04:06.884Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/repl.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":123,"time":"2019-08-14T20:04:06.886Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/stream.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":124,"time":"2019-08-14T20:04:06.892Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/string_decoder.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":125,"time":"2019-08-14T20:04:06.894Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/timers.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":126,"time":"2019-08-14T20:04:06.895Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/tls.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":127,"time":"2019-08-14T20:04:06.895Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/trace_events.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":128,"time":"2019-08-14T20:04:06.899Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/tty.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":129,"time":"2019-08-14T20:04:06.900Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/url.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":130,"time":"2019-08-14T20:04:06.901Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":131,"time":"2019-08-14T20:04:06.903Z"}
{"context":{"call":null,"logLevel":10,"namespace":"ts:serviceHost","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"readFile","sequence":132,"time":"2019-08-14T20:04:06.905Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/util.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":133,"time":"2019-08-14T20:04:06.905Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/v8.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":134,"time":"2019-08-14T20:04:06.909Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/vm.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":135,"time":"2019-08-14T20:04:06.909Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/worker_threads.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":136,"time":"2019-08-14T20:04:06.910Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/zlib.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":137,"time":"2019-08-14T20:04:06.912Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/ts3.2/util.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":138,"time":"2019-08-14T20:04:06.914Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/node/ts3.2/globals.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":139,"time":"2019-08-14T20:04:06.914Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2018.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":140,"time":"2019-08-14T20:04:06.915Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2017.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":141,"time":"2019-08-14T20:04:06.916Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2016.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":142,"time":"2019-08-14T20:04:06.917Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2015.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":143,"time":"2019-08-14T20:04:06.917Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es5.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":144,"time":"2019-08-14T20:04:06.918Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2015.core.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":145,"time":"2019-08-14T20:04:06.947Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2015.collection.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":146,"time":"2019-08-14T20:04:06.950Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2015.generator.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":147,"time":"2019-08-14T20:04:06.951Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2015.promise.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":148,"time":"2019-08-14T20:04:06.951Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2015.iterable.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":149,"time":"2019-08-14T20:04:06.952Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2015.symbol.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":150,"time":"2019-08-14T20:04:06.955Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2015.proxy.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":151,"time":"2019-08-14T20:04:06.955Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2015.reflect.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":152,"time":"2019-08-14T20:04:06.956Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":153,"time":"2019-08-14T20:04:06.956Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2016.array.include.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":154,"time":"2019-08-14T20:04:06.959Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2017.object.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":155,"time":"2019-08-14T20:04:06.960Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2017.sharedmemory.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":156,"time":"2019-08-14T20:04:06.961Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2017.string.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":157,"time":"2019-08-14T20:04:06.962Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2017.intl.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":158,"time":"2019-08-14T20:04:06.962Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2017.typedarrays.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":159,"time":"2019-08-14T20:04:06.963Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2018.asynciterable.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":160,"time":"2019-08-14T20:04:06.963Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2018.promise.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":161,"time":"2019-08-14T20:04:06.963Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2018.regexp.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":162,"time":"2019-08-14T20:04:06.965Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2018.intl.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":163,"time":"2019-08-14T20:04:06.965Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.esnext.intl.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":164,"time":"2019-08-14T20:04:06.965Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.esnext.bigint.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":165,"time":"2019-08-14T20:04:06.966Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/stack-utils/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":166,"time":"2019-08-14T20:04:06.970Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/@types/yargs/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":167,"time":"2019-08-14T20:04:06.971Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.esnext.full.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":168,"time":"2019-08-14T20:04:06.975Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.esnext.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":169,"time":"2019-08-14T20:04:06.975Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2019.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":170,"time":"2019-08-14T20:04:06.976Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2019.array.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":171,"time":"2019-08-14T20:04:06.976Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2019.object.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":172,"time":"2019-08-14T20:04:06.977Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2019.string.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":173,"time":"2019-08-14T20:04:06.978Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.es2019.symbol.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":174,"time":"2019-08-14T20:04:06.978Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.dom.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":175,"time":"2019-08-14T20:04:06.979Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.webworker.importscripts.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":176,"time":"2019-08-14T20:04:07.064Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.scripthost.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":177,"time":"2019-08-14T20:04:07.067Z"}
{"context":{"cacheHit":false,"fileName":"/users/teddy/project/node_modules/typescript/lib/lib.dom.iterable.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache miss","sequence":178,"time":"2019-08-14T20:04:07.068Z"}
{"context":{"call":null,"logLevel":20,"namespace":"ts-hoisting","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"visitSourceFileNode(): hoisting","sequence":179,"time":"2019-08-14T20:04:07.378Z"}
{"context":{"fileName":"/users/teddy/project/lib/language/country.ts","logLevel":20,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getOutput(): computing diagnostics","sequence":180,"time":"2019-08-14T20:04:07.408Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/country.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":181,"time":"2019-08-14T20:04:07.408Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/index.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":182,"time":"2019-08-14T20:04:07.408Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/language.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":183,"time":"2019-08-14T20:04:07.408Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/locale.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":184,"time":"2019-08-14T20:04:07.408Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/states.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":185,"time":"2019-08-14T20:04:07.408Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/__tests__/index.test.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":186,"time":"2019-08-14T20:04:07.408Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/country.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":187,"time":"2019-08-14T20:04:07.408Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":188,"time":"2019-08-14T20:04:07.408Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/language.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":189,"time":"2019-08-14T20:04:07.408Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/locale.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":190,"time":"2019-08-14T20:04:07.408Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/states.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":191,"time":"2019-08-14T20:04:07.408Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/country.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":192,"time":"2019-08-14T20:04:07.409Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/index.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":193,"time":"2019-08-14T20:04:07.409Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/language.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":194,"time":"2019-08-14T20:04:07.409Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/locale.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":195,"time":"2019-08-14T20:04:07.409Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/states.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":196,"time":"2019-08-14T20:04:07.409Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/__tests__/index.test.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":197,"time":"2019-08-14T20:04:07.409Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/country.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":198,"time":"2019-08-14T20:04:07.410Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":199,"time":"2019-08-14T20:04:07.410Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/language.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":200,"time":"2019-08-14T20:04:07.410Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/locale.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":201,"time":"2019-08-14T20:04:07.410Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/states.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":202,"time":"2019-08-14T20:04:07.410Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/country.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":203,"time":"2019-08-14T20:04:07.410Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/index.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":204,"time":"2019-08-14T20:04:07.410Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/language.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":205,"time":"2019-08-14T20:04:07.410Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/locale.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":206,"time":"2019-08-14T20:04:07.411Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/states.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":207,"time":"2019-08-14T20:04:07.411Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/__tests__/index.test.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":208,"time":"2019-08-14T20:04:07.411Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/country.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":209,"time":"2019-08-14T20:04:07.411Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/index.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":210,"time":"2019-08-14T20:04:07.412Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/language.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":211,"time":"2019-08-14T20:04:07.413Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/locale.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":212,"time":"2019-08-14T20:04:07.413Z"}
{"context":{"cacheHit":true,"fileName":"/users/teddy/project/lib/language/dist/states.d.ts","logLevel":10,"namespace":"ts-compiler","package":"ts-jest","transformerId":1,"version":"24.0.2"},"message":"getScriptSnapshot(): cache hit","sequence":213,"time":"2019-08-14T20:04:07.413Z"}
{"context":{"diagnosticCodes":[1343],"diagnosticText":"\u001b[96mlib/language/country.ts\u001b[0m:\u001b[93m8\u001b[0m:\u001b[93m39\u001b[0m - \u001b[91merror\u001b[0m\u001b[90m TS1343: \u001b[0mThe 'import.meta' meta-property is only allowed using 'ESNext' for the 'target' and 'module' compiler options.\n\n\u001b[7m8\u001b[0m const dirname2 = path.dirname(new URL(import.meta.url).pathname);\n\u001b[7m \u001b[0m \u001b[91m                                      ~~~~~~~~~~~\u001b[0m\n","logLevel":20,"namespace":"TSError","package":"ts-jest","version":"24.0.2"},"message":"created new TSError","sequence":214,"time":"2019-08-14T20:04:07.419Z"}

Minimal repo :

https://github.com/ejmartin504/test-ts

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:36
  • Comments:39

github_iconTop GitHub Comments

20reactions
kraftwerk28commented, Nov 4, 2021

I’m getting The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'. error, though I’m using esm.

jest.config.cjs

const ts = require("typescript");
const { pathsToModuleNameMapper } = require("ts-jest/utils");

const { config: tsconfig } = ts.readConfigFile(
  "./tsconfig.json",
  ts.sys.readFile,
);

/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
const config = {
  testEnvironment: "jsdom",
  transform: {
    "^.+\\.tsx?$": ["ts-jest"],
  },
  moduleNameMapper: pathsToModuleNameMapper(
    tsconfig.compilerOptions.paths ?? {},
    { prefix: "<rootDir>" },
  ),
  extensionsToTreatAsEsm: [".ts", ".tsx"],
  globals: {
    "ts-jest": {
      useESM: true,
    },
  },
};

module.exports = config;

tsconfig.json:

{
  "compilerOptions": {
    "target": "ESNext",
    "module": "ESNext",
    // ...
  },
}

Is there any solution so far? Thanks in advance!

18reactions
hedefalkcommented, Oct 29, 2019

I’m having the same issue as @ejmartin504.

TSError: TypeScript diagnostics (customize using `[jest-config].globals.ts-jest.diagnostics` option):
    src/schema.ts:5:40 - error TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'esnext' or 'system'.

    5 const __dirname = path.dirname(new URL(import.meta.url).pathname)
                                             ~~~~~~~~~~~

    > 1 | test('schema should parse', async () => {
        | ^
      2 |   const schema = await import('../src/schema')
      3 |
      4 |   expect(schema)

      at new Spec (../../node_modules/jest-jasmine2/build/jasmine/Spec.js:116:22)
      at Object.<anonymous> (spec/schema-validation.spec.ts:1:1)

Using preset ts-jest doesn’t help. Docs says

By default, it’ll use the default TypeScript and use the project’s tsconfig.json file. If it cannot find one, it’ll use defaults TypeScript compiler options (except es5 is used as target instead of es3).

but I have


 "compilerOptions": {
    "module": "esnext",

set in my tsconfig.json. It just seems that ts-jest doesn’t honour my ts settings.

@ejmartin504 Did you find a way around this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

TS1343: The 'import.meta' meta-property is only allowed when ...
TS1343: The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'esnext', or 'system'.
Read more >
import.meta - JavaScript - MDN Web Docs
The import.meta meta-property exposes context-specific metadata to a JavaScript module. It contains information about the module, ...
Read more >
import-meta-resolve - npm
Start using import-meta-resolve in your project by running `npm i import-meta-resolve`. There are 87 other projects in the npm registry ...
Read more >
babel-plugin-bundled-import-meta | Yarn - Package Manager
Babel plugin to rewrite import.meta.url for use in bundles. Install babel-plugin-bundled-import-meta. This module requires node.js 8 or above ...
Read more >
JavaScript operator: `import.meta` | Can I use... Support tables ...
Green = Supported; Red = Not supported; Greenish yellow = Partial support; Gray = Support unknown. Enable color-blind friendly colors.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Hashnode Post

No results found