aboutsummaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/helpers.js4
-rw-r--r--test/integration/index.js8
2 files changed, 6 insertions, 6 deletions
diff --git a/test/integration/helpers.js b/test/integration/helpers.js
index eede103b4..10cd74e64 100644
--- a/test/integration/helpers.js
+++ b/test/integration/helpers.js
@@ -1,6 +1,6 @@
function wait(time) {
- return new Promise(function(resolve, reject) {
- setTimeout(function() {
+ return new Promise(function (resolve, reject) {
+ setTimeout(function () {
resolve()
}, time * 3 || 1500)
})
diff --git a/test/integration/index.js b/test/integration/index.js
index ff6d1baf8..f2d656b0b 100644
--- a/test/integration/index.js
+++ b/test/integration/index.js
@@ -1,10 +1,10 @@
var fs = require('fs')
var path = require('path')
-var browserify = require('browserify');
+var browserify = require('browserify')
var tests = fs.readdirSync(path.join(__dirname, 'lib'))
var bundlePath = path.join(__dirname, 'bundle.js')
-var b = browserify();
+var b = browserify()
// Remove old bundle
try {
@@ -13,9 +13,9 @@ try {
var writeStream = fs.createWriteStream(bundlePath)
-tests.forEach(function(fileName) {
+tests.forEach(function (fileName) {
b.add(path.join(__dirname, 'lib', fileName))
})
-b.bundle().pipe(writeStream);
+b.bundle().pipe(writeStream)