Skip to content

Commit 98574f0

Browse files
committed
Add missing test case
1 parent 9388ad8 commit 98574f0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

spec/stacktrace-spec.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,11 @@ describe('StackTrace', function() {
2424
var stackframes = StackTrace.getSync();
2525
expect(stackframes[0].functionName).toMatch(/.*testStackTraceGetSync/);
2626
});
27+
28+
it('does not filter if filter is explictly disabled', function() {
29+
var stackframes = StackTrace.getSync({filter: null});
30+
expect(stackframes[0].functionName).toEqual('StackTrace$$GenerateError');
31+
});
2732
});
2833

2934
describe('#fromError', function() {

0 commit comments

Comments
 (0)