Skip to content

Commit

Permalink
Add extra wait for transaction
Browse files Browse the repository at this point in the history
  • Loading branch information
hayes-mysten committed May 29, 2024
1 parent f54a432 commit abbe836
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sdk/typescript/test/e2e/read-events.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ describe('Event Reading API', () => {

beforeAll(async () => {
toolbox = await setup();

// Wait for next epoch to ensure there are events
await new Promise((resolve) => setTimeout(resolve, 10_000));
});

it('Get All Events', async () => {
Expand Down

0 comments on commit abbe836

Please sign in to comment.