Skip to content
This repository has been archived by the owner on Jun 7, 2024. It is now read-only.

Commit

Permalink
Fix: minor typos (#245)
Browse files Browse the repository at this point in the history
Fix: minor typos
  • Loading branch information
omahs authored Oct 30, 2022
1 parent 3e4ee2e commit 18df214
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/eth-hooks/test/useEventListener.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ describe('useEventListener', function () {
expect(result[index].event).to.equal('SetPurpose');
});

describe('Given that multiple events occured before the hook is initialized', () => {
describe('Given that multiple events occurred before the hook is initialized', () => {
let beforeMultipleEventsBlockNumber = 0;
before(async () => {
beforeMultipleEventsBlockNumber = await currentTestBlockNumber();
Expand Down Expand Up @@ -79,8 +79,8 @@ describe('useEventListener', function () {
});
});

describe('Given that multiple events occured after the hook is initialized', () => {
it('When the hook is initialized before the events, with a starting blockNumber before the events occured; then it returns all the events after that block number in the right order', async () => {
describe('Given that multiple events occurred after the hook is initialized', () => {
it('When the hook is initialized before the events, with a starting blockNumber before the events occurred; then it returns all the events after that block number in the right order', async () => {
const eventFilter: EventFilter = yourContract!.filters.SetPurpose();
const wrapper = await hookTestWrapper(() =>
useEventListener<SetPurposeEvent>(yourContract, eventFilter, testStartBockNumber + 1)
Expand Down

0 comments on commit 18df214

Please sign in to comment.