Skip to content

Commit

Permalink
undo change to unrelated file
Browse files Browse the repository at this point in the history
  • Loading branch information
Hweinstock committed Nov 8, 2024
1 parent 3acfad4 commit 0453dba
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/core/src/test/setupUtil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export function setRunnableTimeout(test: Mocha.Runnable, maxTestDuration: number
if (!hasKey(testFn, runnableTimeout)) {
const fn = function (this: Mocha.Context, done: Mocha.Done) {
const maxTestDuration = (fn as any)[runnableTimeout] as number

return Promise.race([
testFn.call(this, done),
new Promise<void>((_, reject) => {
Expand Down

0 comments on commit 0453dba

Please sign in to comment.