Following https://jestjs.io/docs/code-transformation#writing-custom-transformers the docs suggest to add a `getCacheKey` function, to improve performance. They even reference on of their own projects https://www.npmjs.com/package/@jest/create-cache-key-function