From 99c2c5879e0b540f91e82464df0cd96b743d3b79 Mon Sep 17 00:00:00 2001 From: Marcus Eide Date: Thu, 16 Apr 2020 15:31:14 +0200 Subject: [PATCH] Export helper methods differently --- scripts/helpers.js | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/scripts/helpers.js b/scripts/helpers.js index 7ad1bedfd5..7e34f10a63 100644 --- a/scripts/helpers.js +++ b/scripts/helpers.js @@ -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, +};