diff --git a/lib/index.js b/lib/index.js index 96bc18ba..70379bf0 100644 --- a/lib/index.js +++ b/lib/index.js @@ -168,7 +168,8 @@ var Embark = (function () { } function initTests () { - return require('./core/test.js'); + var Test = require('./core/test.js'); + return new Test(options); } // TODO: should deploy if it hasn't already