auth-api/tests/node_modules/tape/test/anonymous-fn/test-wrapper.js

19 lines
295 B
JavaScript
Raw Normal View History

2021-06-23 22:30:45 +02:00
'use strict';
// Example of wrapper function that would invoke tape
module.exports = function (testCase) {
return function (t) {
setUp();
testCase(t);
tearDown();
};
};
function setUp() {
// ... example ...
}
function tearDown() {
// ... example ...
}