Skip to content

Commit

Permalink
chore(jest): remove duplicated test (#3058)
Browse files Browse the repository at this point in the history
  • Loading branch information
stavares843 authored May 4, 2022
1 parent e5308d5 commit a25a1ed
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions store/settings/actions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,21 +48,6 @@ describe('actions.default', () => {
}
})

test('setConsentScan with consentScan but error occured', async () => {
const commit = jest.fn()

try {
await actions.default.setConsentScan({ commit }, true)
} catch (error) {
expect(commit).toHaveBeenCalledWith('setConsentScan', true)
expect(error).toBeInstanceOf(Error)
expect(error).toHaveProperty(
'message',
TextileError.USERINFO_MANAGER_NOT_FOUND,
)
}
})

test('setConsentScan with consentScan', async () => {
Vue.prototype.$TextileManager = new TextileManager()
const TMConstructor = Vue.prototype.$TextileManager
Expand Down

0 comments on commit a25a1ed

Please sign in to comment.