Scherz Regex JSX TSX JS TS

//jest.config.js
{
  "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$" 
} 
// matches (spec or test) with .js .jsx .ts .tsx
Ivan Fenchyn