Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
curtisman committed Oct 8, 2022
1 parent b4e406e commit 6140f83
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions packages/test/test-utils/src/timeoutUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,17 +78,17 @@ if (globalThis.registerMochaTestWrapperFunc !== undefined) {
}

export interface TimeoutWithError {
// Timeout duration in milliseconds.
// If it is undefined, then the default is 250.
// If it is <= 0 or infinity, then there is no timeout
// Timeout duration in milliseconds, if it is > 0 and not Infinity
// If it is undefined, then it will use test timeout if we are in side the test function
// Otherwise, there is no timeout
durationMs?: number;
reject?: true;
errorMsg?: string;
}
export interface TimeoutWithValue<T = void> {
// Timeout duration in milliseconds.
// If it is undefined, then the default is 250.
// If it is <= 0 or infinity, then there is no timeout
// Timeout duration in milliseconds, if it is > 0 and not Infinity
// If it is undefined, then it will use test timeout if we are in side the test function
// Otherwise, there is no timeout
durationMs?: number;
reject: false;
value: T;
Expand Down

0 comments on commit 6140f83

Please sign in to comment.