Export helper methods differently

This commit is contained in:
Marcus Eide
2020-04-16 15:31:14 +02:00
parent 99986cfc11
commit 99c2c5879e
+8 -6
View File
@@ -129,9 +129,11 @@ function print(msg) {
return process.stdout.write(`${msg}\n`);
}
module.exports.spawnPiped = spawnPiped;
module.exports.handleError = handleError;
module.exports.waitFor = waitFor;
module.exports.waitForExit = waitForExit;
module.exports.waitForPageWithText = waitForPageWithText;
module.exports.print = print;
module.exports = {
spawnPiped,
handleError,
waitFor,
waitForExit,
waitForPageWithText,
print,
};