Skip to content

Commit 834abfe

Browse files
committed
simplify
1 parent f96b386 commit 834abfe

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

lib/createTopLevelExpect.js

+1-3
Original file line numberDiff line numberDiff line change
@@ -1360,13 +1360,11 @@ expectPrototype.addAdditionalPromiseMethods = function (promise, subject) {
13601360
true // legacy mode (FIXME)
13611361
);
13621362
} else {
1363-
// find ud af at fange konteksten
13641363
return expect._executeExpect(
13651364
new Context(),
13661365
shiftedSubject,
13671366
methodName.replace(/[A-Z]/g, ($0) => ` ${$0.toLowerCase()}`),
1368-
args,
1369-
{} // forwardedFlags
1367+
args
13701368
);
13711369
}
13721370
}

0 commit comments

Comments
 (0)