Skip to content

Commit

Permalink
Merge pull request #1336 from ONEARMY/fix/typing-of-tests
Browse files Browse the repository at this point in the history
fix: type definitions for tests
  • Loading branch information
thisislawatts authored Dec 20, 2021
2 parents 0a679b4 + 1450bd7 commit 6cebf98
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/pages/Research/research.routes.test.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import '@testing-library/jest-dom';
import ResearchRoutes from './research.routes'
import { render, waitFor, cleanup } from '@testing-library/react'
import { MemoryRouter } from 'react-router'
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"noImplicitAny": false,
"strictPropertyInitialization": false,
"experimentalDecorators": true,
"typeRoots": ["./node_modules/@types", "./types"],
"typeRoots": ["./node_modules/@types", "./types", "@testing-library/jest-dom"],
"declaration": true,
"noEmit": true,
"noFallthroughCasesInSwitch": true
Expand Down

0 comments on commit 6cebf98

Please sign in to comment.