Browse files

Fix new test for old IEs

  • Loading branch information...
1 parent 98574f0 commit eb03054362624dc2f6a22672669866ba51c5381b @eriwen eriwen committed Jun 12, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/stacktrace-spec.js
View
2 spec/stacktrace-spec.js
@@ -27,7 +27,7 @@ describe('StackTrace', function() {
it('does not filter if filter is explictly disabled', function() {
var stackframes = StackTrace.getSync({filter: null});
- expect(stackframes[0].functionName).toEqual('StackTrace$$GenerateError');
+ expect(stackframes[0].functionName).toMatch(/(StackGenerator\$\$backtrace|StackTrace\$\$GenerateError)/);
});
});

0 comments on commit eb03054

Please sign in to comment.