Skip to content

Commit

Permalink
fixup! update e2e test specs
Browse files Browse the repository at this point in the history
  • Loading branch information
amessbee committed Jan 9, 2025
1 parent 2919b4c commit 20c5a9a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion ui/test/e2e/specs/test.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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`, () => {
Expand Down

0 comments on commit 20c5a9a

Please sign in to comment.