aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2017-06-22 21:46:03 +0800
committerDan Finlay <dan@danfinlay.com>2017-06-22 21:46:03 +0800
commitc0c588053a29a4406ef30de8628065429ff99595 (patch)
tree71578beaa194c7b3139134eb4d31e72286ad561f /test
parentc7780727eb26cd35806f36aaf91cfb6865dd9693 (diff)
downloadtangerine-wallet-browser-c0c588053a29a4406ef30de8628065429ff99595.tar
tangerine-wallet-browser-c0c588053a29a4406ef30de8628065429ff99595.tar.gz
tangerine-wallet-browser-c0c588053a29a4406ef30de8628065429ff99595.tar.bz2
tangerine-wallet-browser-c0c588053a29a4406ef30de8628065429ff99595.tar.lz
tangerine-wallet-browser-c0c588053a29a4406ef30de8628065429ff99595.tar.xz
tangerine-wallet-browser-c0c588053a29a4406ef30de8628065429ff99595.tar.zst
tangerine-wallet-browser-c0c588053a29a4406ef30de8628065429ff99595.zip
Print integration build errors
Diffstat (limited to 'test')
-rw-r--r--test/integration/index.js14
1 files changed, 8 insertions, 6 deletions
diff --git a/test/integration/index.js b/test/integration/index.js
index f2d656b0b..85f91d92b 100644
--- a/test/integration/index.js
+++ b/test/integration/index.js
@@ -9,13 +9,15 @@ var b = browserify()
// Remove old bundle
try {
fs.unlinkSync(bundlePath)
-} catch (e) {}
-var writeStream = fs.createWriteStream(bundlePath)
+ var writeStream = fs.createWriteStream(bundlePath)
-tests.forEach(function (fileName) {
- b.add(path.join(__dirname, 'lib', fileName))
-})
+ tests.forEach(function (fileName) {
+ b.add(path.join(__dirname, 'lib', fileName))
+ })
-b.bundle().pipe(writeStream)
+ b.bundle().pipe(writeStream)
+} catch (e) {
+ console.error('Integration build failure', e)
+}