From 27b6ce1e68c89172e2b2443cb76b8e6ea3464c4b Mon Sep 17 00:00:00 2001 From: Franklin van de Meent Date: Tue, 16 Aug 2016 04:03:47 +0200 Subject: [PATCH] Test(script): Run tests even when API key is not set --- test.js | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/test.js b/test.js index 0125cd1..de845db 100644 --- a/test.js +++ b/test.js @@ -23,22 +23,10 @@ var ovio = app (config); // Tests -dotest.add ('API key', function (test) { - if (!config.apikey) { - dotest.log ('OVIO_APIKEY is not set'); - dotest.exit (); - } else { - dotest.log ('good', 'OVIO_APIKEY key is set'); - test () - .done (); - } -}); - - dotest.add ('Module', function (test) { test () .isFunction ('fail', 'exports', app) - .isFunction ('fail', 'module', ovio) + .isFunction ('fail', 'interface', ovio) .done (); });