Skip to content

Commit

Permalink
test: increase EventSpy timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
jeripeierSBB committed Nov 20, 2024
1 parent 982317a commit 7cb8bf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/elements/core/testing/event-spy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export class EventSpy<T extends Event> {
return this.calledTimes(1, timeout);
}

public calledTimes(count: number, timeout = 1500): Promise<T> {
public calledTimes(count: number, timeout = 2000): Promise<T> {
if (this.count > count) {
return Promise.reject(
`Event has been emitted more than expected (expected ${count}, actual ${this.count}`,
Expand Down

0 comments on commit 7cb8bf4

Please sign in to comment.