Skip to content

Commit

Permalink
Fix restore vote test suite on newer node versions
Browse files Browse the repository at this point in the history
  • Loading branch information
thesan committed Apr 28, 2023
1 parent 4c02af1 commit 7baf817
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ui/test/council/modals/RestoreVotesModal.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ describe('UI: Restore Votes Modal', () => {
displayModal()
await uploadFile(createFile('not json'))
expect(await screen.findByRole('button', { name: 'Restore Votes' })).toBeDisabled()
expect(await screen.findByText(/^Unexpected token .+ in JSON/)).toBeDefined()
expect(await screen.findByText(/^Unexpected token/)).toBeDefined()
})

it('Invalid schema', async () => {
Expand Down

0 comments on commit 7baf817

Please sign in to comment.