just in case someone finds this later through search: I got it working by adding a separate tsconfig for jest and including both tsconfigs in the eslintrc config file like this. (we use .spec.tsx suffix for cypress component test files and .test.ts for jest unit test files)