Answers for "jest regex jsx tsx js ts"

1

jest regex jsx tsx js ts

//jest.config.js
{
  "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$" 
} 
// matches (spec or test) with .js .jsx .ts .tsx
Posted by: Guest on February-08-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language