diff --git a/ui/src/App.tsx b/ui/src/App.tsx index 14719e8..e24f74b 100644 --- a/ui/src/App.tsx +++ b/ui/src/App.tsx @@ -79,9 +79,7 @@ const connectWallet = async () => { try { await fetch(ENDPOINTS.RPC); } catch (error) { - throw new Error( - 'Chain is not running. Please start the chain first!', - ); + throw new Error('Chain is not running. Please start the chain first!'); } await suggestChain('https://local.agoric.net/network-config'); const wallet = await makeAgoricWalletConnection(watcher, ENDPOINTS.RPC); diff --git a/ui/test/e2e/specs/test.spec.js b/ui/test/e2e/specs/test.spec.js index 4bad1e2..91f012d 100644 --- a/ui/test/e2e/specs/test.spec.js +++ b/ui/test/e2e/specs/test.spec.js @@ -24,7 +24,7 @@ describe('DAPP Offer Up E2E Test Cases', () => { }); cy.get('@alertShown').should( 'have.been.calledOnceWith', - 'Chain is not running. Please start the chain first!', + 'Request rejected', ); }); it(`should accept connection with wallet`, () => {