Skip to content

Commit eb03054

Browse files
committed
Fix new test for old IEs
1 parent 98574f0 commit eb03054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/stacktrace-spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('StackTrace', function() {
2727

2828
it('does not filter if filter is explictly disabled', function() {
2929
var stackframes = StackTrace.getSync({filter: null});
30-
expect(stackframes[0].functionName).toEqual('StackTrace$$GenerateError');
30+
expect(stackframes[0].functionName).toMatch(/(StackGenerator\$\$backtrace|StackTrace\$\$GenerateError)/);
3131
});
3232
});
3333

0 commit comments

Comments
 (0)