Skip to content

Commit

Permalink
remove apiKey test case
Browse files Browse the repository at this point in the history
  • Loading branch information
10xSebastian committed Mar 4, 2022
1 parent 0f7b136 commit 3a1bb40
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions tests/units/getAssets.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,6 @@ describe('assets', ()=>{
mock({ blockchain: 'bsc', accounts: { return: accounts } })
})

it('raises an error if api key is not set', async ()=>{
mock('ethereum')
global.fetch = jest.fn()
await expect(
()=>getAssets()
).rejects.toEqual('Web3Wallets: Please pass an apiKey. See documentation.')
})

describe('fetch assets for connected wallet', ()=>{

beforeEach(()=>{
Expand Down

0 comments on commit 3a1bb40

Please sign in to comment.