Skip to content

Commit

Permalink
#290 Include *.tsx when running jest
Browse files Browse the repository at this point in the history
  • Loading branch information
zaki-yama committed May 26, 2019
1 parent 0dc2ad3 commit 287f01b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"storybook": "start-storybook -s ./node_modules/@salesforce-ux/design-system -p 9001 -c .storybook",
"test": "npm-run-all type-check test:jest test:storyshots",
"test:storyshots": "NODE_ENV=test jest test/storyshots/*.test.js",
"test:jest": "jest test/*-spec.js",
"test:jest": "jest test/*-spec.js test/*-spec.tsx",
"prepublish": "npm run build",
"type-check": "tsc --noEmit",
"type-check:watch": "npm run type-check -- --watch",
Expand Down Expand Up @@ -107,7 +107,7 @@
"@types/react": "^16.8.12"
},
"jest": {
"testRegex": "(/test/.*|\\.(test|spec))\\.js$",
"testRegex": "(/test/.*|\\.(test|spec))\\.(js|tsx)$",
"setupFilesAfterEnv": [
"<rootDir>/test/setupTests.js"
],
Expand Down

0 comments on commit 287f01b

Please sign in to comment.