From f358e810f51bf8a968ee3d43ed555ef9aa8d1b11 Mon Sep 17 00:00:00 2001 From: Amos Haviv Date: Tue, 3 Dec 2013 02:19:04 +0200 Subject: [PATCH] Testing Fix --- test/karma/karma.conf.js | 8 ++++---- test/mocha/article/model.js | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/test/karma/karma.conf.js b/test/karma/karma.conf.js index 46d31376..936dc17e 100644 --- a/test/karma/karma.conf.js +++ b/test/karma/karma.conf.js @@ -1,7 +1,7 @@ // Karma configuration // Generated on Sat Oct 05 2013 22:00:14 GMT+0700 (ICT) -module.exports = function (config) { +module.exports = function(config) { config.set({ // base path, that will be used to resolve files and exclude @@ -56,8 +56,8 @@ module.exports = function (config) { }, coverageReporter: { - type : 'html', - dir : 'test/coverage/' + type: 'html', + dir: 'test/coverage/' }, // web server port @@ -96,4 +96,4 @@ module.exports = function (config) { // if true, it capture browsers, run tests and exit singleRun: false }); -}; +}; \ No newline at end of file diff --git a/test/mocha/article/model.js b/test/mocha/article/model.js index 37451786..3afe68c4 100644 --- a/test/mocha/article/model.js +++ b/test/mocha/article/model.js @@ -56,10 +56,10 @@ describe('', function() { User.remove({}); done(); }); - after(function(done){ + after(function(done) { Article.remove().exec(); User.remove().exec(); done(); }); }); -}); +}); \ No newline at end of file