Skip to content

Commit

Permalink
prettier used
Browse files Browse the repository at this point in the history
  • Loading branch information
itayperry committed Jun 3, 2021
1 parent 91c15ee commit b42b461
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/fake-timers-src.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,9 @@ function withGlobal(_global) {
" timers, assuming an infinite loop!"
);
var computedTargetPattern = /target\.*[<|(|[].*?[>|\]|)]\s*/;
var clockMethodPattern = new RegExp(String(Object.keys(clock).join("|")));
var clockMethodPattern = new RegExp(
String(Object.keys(clock).join("|"))
);

var matchedLineIndex = -1;
job.error.stack.split("\n").some(function (line, i) {
Expand Down

0 comments on commit b42b461

Please sign in to comment.