From 77efd6ddf4167d77cec7be1ffd1f19e36bef5cde Mon Sep 17 00:00:00 2001 From: Vsevolod Strukchinsky Date: Fri, 12 Sep 2014 16:18:13 +0600 Subject: [PATCH] flightPackage.run is async method, use done cb --- test/test.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/test.js b/test/test.js index 29558ba..d1b3d14 100644 --- a/test/test.js +++ b/test/test.js @@ -34,8 +34,10 @@ describe('Flight package generator test', function () { cb(); }); - it('runs sucessfully', function () { - flightPackage.run(); + it('runs sucessfully', function (done) { + flightPackage.run({}, function () { + done(); + }); }); it('creates expected files', function (cb) {