forked from LeenkxTeam/Kmake
17 lines
238 B
JavaScript
17 lines
238 B
JavaScript
'use strict'
|
|
|
|
const spawk = require('spawk')
|
|
|
|
module.exports = tspawk
|
|
|
|
function tspawk (t) {
|
|
spawk.preventUnmatched()
|
|
t.teardown(function () {
|
|
spawk.unload()
|
|
})
|
|
t.afterEach(function () {
|
|
spawk.done()
|
|
})
|
|
return spawk
|
|
}
|