diff --git a/packages/dapp-kit/test/wallet-tests/sync.test.ts b/packages/dapp-kit/test/wallet-tests/sync.test.ts index 10457d08..5d9709a7 100644 --- a/packages/dapp-kit/test/wallet-tests/sync.test.ts +++ b/packages/dapp-kit/test/wallet-tests/sync.test.ts @@ -82,7 +82,7 @@ describe('sync', () => { ); }); - it('get available sources - should not include veworld', () => { + it('get available sources - should not include sync', () => { const connex = createUnitTestConnex(); const sources = connex.wallet.state.availableSources; diff --git a/packages/dapp-kit/test/wallet-tests/veworld-extension.test.ts b/packages/dapp-kit/test/wallet-tests/veworld-extension.test.ts index f9d0293d..75b68aff 100644 --- a/packages/dapp-kit/test/wallet-tests/veworld-extension.test.ts +++ b/packages/dapp-kit/test/wallet-tests/veworld-extension.test.ts @@ -40,26 +40,4 @@ describe('veworld', () => { expect(sources).toContain('veworld'); }); }); - - describe('is NOT in veworld browser', () => { - beforeEach(() => { - window.vechain = undefined; - }); - - it('not installed - should throw error', () => { - const connex = createUnitTestConnex(); - - expect(() => connex.wallet.setSource('veworld')).toThrowError( - 'VeWorld Extension is not installed', - ); - }); - - it('get available sources - should not include veworld', () => { - const connex = createUnitTestConnex(); - - const sources = connex.wallet.state.availableSources; - - expect(sources).not.toContain('veworld'); - }); - }); });