Skip to content

Commit

Permalink
fix: e2e test.
Browse files Browse the repository at this point in the history
  • Loading branch information
b4rtaz committed Apr 30, 2024
1 parent ea0b14b commit 395fbf8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion demos/react/cypress/e2e/Home.cy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ describe('Homepage', () => {

cy.get('[data-testid="outputTextarea"]')
.should('exist')
.contains('0x258b69b4152d42da8b5d2952f51b7ff72210e8dfe5e7bc441a291175d7e635e7');
.contains('0x7f6233c1a3e7e0f9f09253dcb9c44bf717ddee9abf3cf77e70b750f1d31fd9a6');
});

it('runs function correctly', () => {
Expand Down
2 changes: 1 addition & 1 deletion demos/react/src/views/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ const Home = () => {
);
const { refetch: getBlock } = useEvmBlock(
{
chain: '0x13881',
chain: '0x38',
blockNumberOrHash: '10000',
},
{ enabled: false, onSuccess: (res) => setOutput(JSON.stringify(res)) },
Expand Down

1 comment on commit 395fbf8

@github-actions
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test coverage

Title Lines Statements Branches Functions
api-utils Coverage: 20%
20.6% (61/296) 20.48% (17/83) 19.04% (12/63)
auth Coverage: 89%
92.45% (98/106) 83.33% (20/24) 86.66% (26/30)
evm-api Coverage: 83%
84.9% (90/106) 66.66% (6/9) 77.77% (56/72)
common-aptos-utils Coverage: 4%
4.56% (151/3306) 4.49% (25/556) 5.53% (45/813)
common-evm-utils Coverage: 59%
59.63% (1900/3186) 20% (172/860) 40.39% (454/1124)
sol-api Coverage: 97%
97.56% (40/41) 66.66% (6/9) 93.75% (15/16)
common-sol-utils Coverage: 64%
65.42% (229/350) 41.86% (18/43) 50.89% (57/112)
common-streams-utils Coverage: 90%
90.73% (1204/1327) 73.63% (363/493) 82.07% (444/541)
streams Coverage: 91%
90.54% (603/666) 72.34% (68/94) 90.97% (131/144)

Please sign in to comment.