Skip to content

Commit

Permalink
housekeeping: convert tests to typescript (#287)
Browse files Browse the repository at this point in the history
  • Loading branch information
dschaller authored Aug 11, 2020
1 parent 7673dd2 commit bfb56b4
Show file tree
Hide file tree
Showing 20 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions frontend/packages/tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
"@babel/preset-typescript": "^7.1.0",
"@types/enzyme": "^3.10.5",
"@types/jest": "^26.0.0",
"@types/mocha": "^8.0.1",
"@types/node": "^14.0.13",
"@types/react": "^16.9.20",
"@types/react-dom": "^16.9.5",
Expand Down
6 changes: 3 additions & 3 deletions frontend/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
},
"preserveConstEnums": true,
"target": "ES2018",
"types": ["node", "long"]
"types": ["jest", "node", "long"]
},
"exclude": [
"node_modules",
"**/*.test.jsx",
"**/*.test.tsx"
"**/*.test.js*",
"**/*.test.ts*"
],
}
5 changes: 5 additions & 0 deletions frontend/yarn.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bfb56b4

Please sign in to comment.