Debian Codegraph @

nyc/test/fixtures/stack-trace.js

raw
1 'use strict';
2
3 function blah() {
4 throw new Error('Blarrh')
5 }
6
7 var stack;
8 try {
9 blah();
10 } catch(err) {
11 stack = err.stack;
12 }
13
14 module.exports = function() {
15 return stack;
16 }