jest regex jsx tsx js ts

Solutions on MaxInterview for jest regex jsx tsx js ts by the best coders in the world

showing results for - "jest regex jsx tsx js ts"
Malo
25 Jan 2018
1//jest.config.js
2{
3  "testRegex": "(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$" 
4} 
5// matches (spec or test) with .js .jsx .ts .tsx