Sign in
apache
/
incubator-marvin
/
562c94ed9723fa8b5f2c33ad9615469214ec0690
/
.
/
PoCs
/
nodejs_poc
/
node_modules
/
tape
/
test
/
anonymous-fn
/
test-wrapper.js
blob: 9702c9f1b66db4b630432e09c86e68818e66e243 [
file
] [
log
] [
blame
]
// 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 ...
}