From 3637b2e06ecfaeedb8d71c656c124c1a3528ed29 Mon Sep 17 00:00:00 2001 From: roo2 Date: Tue, 21 Mar 2017 18:55:15 +1000 Subject: [PATCH] update the initTests method of embark to reflect the new structure of test.js --- lib/index.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/index.js b/lib/index.js index 076abf81..96bc18ba 100644 --- a/lib/index.js +++ b/lib/index.js @@ -167,9 +167,8 @@ var Embark = (function () { }); } - function initTests (options) { - var Test = require('./core/test.js'); - return new Test(options); + function initTests () { + return require('./core/test.js'); } // TODO: should deploy if it hasn't already