MCPcopy
hub / github.com/stacktracejs/stacktrace.js / stackFrameFilter

Function stackFrameFilter

spec/stacktrace-spec.js:99–102  ·  view source on GitHub ↗
(stackFrame)

Source from the content-addressed store, hash-verified

97 describe('#generateArtificially', function() {
98 it('gets stacktrace from current location', function(done) {
99 var stackFrameFilter = function(stackFrame) {
100 return stackFrame.getFunctionName() &&
101 stackFrame.getFunctionName().indexOf('testGenerateArtificially') > -1;
102 };
103
104 (function testGenerateArtificially() {
105 StackTrace.generateArtificially({filter: stackFrameFilter})

Callers

nothing calls this directly

Calls 1

getFunctionNameMethod · 0.80

Tested by

no test coverage detected