Skip to content

Commit

Permalink
Also apply the jasmine patch in 3.x
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Apr 17, 2018
1 parent 4d6cbb5 commit bba80b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/support/jasmineSetup.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function jasmineSuccess(err) {
var shouldApplyPatch =
typeof jasmine !== 'undefined' &&
typeof jasmine.version === 'string' &&
jasmine.version.match(/^2\./);
jasmine.version.match(/^[23]\./);

if (typeof it === 'function' && shouldApplyPatch) {
var originalIt = it;
Expand Down

0 comments on commit bba80b1

Please sign in to comment.