From ce42b1f2086701377d080ce109fb078d2751c126 Mon Sep 17 00:00:00 2001 From: James Messinger Date: Tue, 29 Dec 2015 09:58:34 -0600 Subject: [PATCH] Enabled verbose logging in Karma. Temporarily removed Safari on OSX, due to https://github.com/karma-runner/karma/issues/1768 --- karma.conf.js | 4 ++-- tests/fixtures/mocha.js | 8 -------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index 7a9f22b0..76f4ee4b 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -4,7 +4,7 @@ var baseConfig = { frameworks: ['mocha'], - reporters: ['mocha'], + reporters: ['verbose'], files: [ // Third-Party Libraries 'www/bower_components/chai/chai.js', @@ -89,7 +89,7 @@ function configureLocalBrowsers(config) { isLinux = !(isMac || isWindows); if (isMac) { - config.browsers = ['PhantomJS', 'Firefox', 'Chrome', 'Safari']; + config.browsers = ['PhantomJS', 'Firefox', 'Chrome']; // 'Safari']; TEMPORARILY removing Safari, due to this bug: https://github.com/karma-runner/karma/issues/1768 } else if (isLinux) { config.browsers = ['PhantomJS', 'Firefox']; diff --git a/tests/fixtures/mocha.js b/tests/fixtures/mocha.js index 327369df..80c24641 100644 --- a/tests/fixtures/mocha.js +++ b/tests/fixtures/mocha.js @@ -8,14 +8,6 @@ mocha.asyncOnly(); mocha.checkLeaks(); mocha.globals(['$0', '$1', '$2', '$3', '$4', '$5', 'ga', 'gaplugins', 'gaGlobal']); - - // Output each test's name, for debugging purposes - beforeEach(function() { - console.log('START ' + this.currentTest.parent.title + ' - ' + this.currentTest.title); - }); - afterEach(function() { - console.log('DONE ' + this.currentTest.parent.title + ' - ' + this.currentTest.title); - }); } beforeEach(function() {