You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

20 lines
557 B

const stackTraceLine = require('../../../helper/stackTraceLine');
module.exports.tests = {};
module.exports.tests.stackTrace = (test, common) => {
test('No exceptions thrown when function is called', (t) => {
t.doesNotThrow(stackTraceLine, 'No exceptions thrown');
t.end();
});
};
module.exports.all = function (tape, common) {
function test(name, testFunction) {
return tape('[helper] stackTraceLine: ' + name, testFunction);
}
for( var testCase in module.exports.tests ){
module.exports.tests[testCase](test, common);
}
};