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.
11 lines
321 B
11 lines
321 B
const { test } = require('../src');
|
|
|
|
module.exports = (middleware, options) => test(middleware, options)
|
|
.fork((err) => {
|
|
console.error(err);
|
|
process.exit(1);
|
|
}, () => {
|
|
// Some test runners do not cleanly exit after resolving their promise.
|
|
// Force exit once we get here.
|
|
process.exit(0);
|
|
});
|
|
|