Skip to content

Commit

Permalink
test: remove leaky unmount from App test
Browse files Browse the repository at this point in the history
Jest reported it to be causing an open handle at the end of the test suite
  • Loading branch information
Harjot1Singh committed Jan 15, 2022
1 parent 97cf417 commit 09a9064
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/App.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@ import App from './App'
describe( 'App', () => {
describe( 'Initial load', () => {
it( 'Renders without crashing', async () => {
const { unmount } = render( <App /> )

unmount()
render( <App /> )
} )
} )
} )

0 comments on commit 09a9064

Please sign in to comment.