Skip to content

Commit

Permalink
Update render test to use snap
Browse files Browse the repository at this point in the history
  • Loading branch information
elliothershberg committed Jul 9, 2021
1 parent 0cbadd6 commit c3e6574
Show file tree
Hide file tree
Showing 2 changed files with 457 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ describe('<GridBookmarkWidget />', () => {
assemblyName: 'hg19',
})

const { findByText } = render(<GridBookmarkWidget model={model} />)
const { container } = render(<GridBookmarkWidget model={model} />)

expect(await findByText('hg19')).toBeTruthy()
expect(container.firstChild).toMatchSnapshot()
})

it('deletes individual bookmarks correctly', async () => {
Expand Down
Loading

0 comments on commit c3e6574

Please sign in to comment.