Skip to content

Commit

Permalink
fixup! update error message in test.spec
Browse files Browse the repository at this point in the history
  • Loading branch information
amessbee committed Jan 8, 2025
1 parent 83e5c9c commit 61eda96
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ui/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const connectWallet = async () => {
await fetch(ENDPOINTS.RPC);
} catch (error) {
throw new Error(

Check failure on line 82 in ui/src/App.tsx

View workflow job for this annotation

GitHub Actions / unit (18)

Replace `⏎······'Chain·is·not·running.·Please·start·the·chain·first!',⏎····` with `'Chain·is·not·running.·Please·start·the·chain·first!'`

Check failure on line 82 in ui/src/App.tsx

View workflow job for this annotation

GitHub Actions / unit (20)

Replace `⏎······'Chain·is·not·running.·Please·start·the·chain·first!',⏎····` with `'Chain·is·not·running.·Please·start·the·chain·first!'`
`Chain is not running. Please start the chain first.: ${error}`,
'Chain is not running. Please start the chain first!',
);
}
await suggestChain('https://local.agoric.net/network-config');
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.: Error: Request rejected',
'Chain is not running. Please start the chain first!',
);
});
it(`should accept connection with wallet`, () => {
Expand Down

0 comments on commit 61eda96

Please sign in to comment.