How to use the ts-jest.getCacheKey function in ts-jest

To help you get started, we’ve selected a few ts-jest examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github elastic / kibana / src / dev / jest / ts_transform.ts View on Github external
getCacheKey(
    src: string,
    filePath: string,
    jestConfigJSON: string,
    transformOptions: jest.TransformOptions
  ) {
    const extendedConfigJSON = extendJestConfigJSON(jestConfigJSON, filePath);
    return TsJest.getCacheKey!(src, filePath, extendedConfigJSON, transformOptions);
  },
};