From e089d19993613619c0585556f5cdc6265154a0cb Mon Sep 17 00:00:00 2001 From: Baptiste Lemoine Date: Mon, 10 Feb 2020 10:47:54 +0100 Subject: [PATCH] :hammer: test with FirefoxHeadless for gitlab CI --- karma.conf.js | 4 ++-- .../voting/voting-choice/voting-choice.component.spec.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index de550f2f..f4680afd 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -33,8 +33,8 @@ module.exports = function (config) { colors : true, logLevel : config.LOG_INFO, autoWatch : true, - browsers : ['Firefox'], - singleRun : false, + browsers : ['FirefoxHeadless'], + singleRun : true, restartOnFileChange : true, }); }; diff --git a/src/app/pages/voting/voting-choice/voting-choice.component.spec.ts b/src/app/pages/voting/voting-choice/voting-choice.component.spec.ts index 38e22605..92d89829 100644 --- a/src/app/pages/voting/voting-choice/voting-choice.component.spec.ts +++ b/src/app/pages/voting/voting-choice/voting-choice.component.spec.ts @@ -12,7 +12,7 @@ import {mockPoll3} from "../../../config/mocks/mock-poll3"; const routerSpy = jasmine.createSpyObj('Router', ['navigateByUrl']); -fdescribe('VotingChoiceComponent', () => { +describe('VotingChoiceComponent', () => { let component: VotingChoiceComponent; let fixture: ComponentFixture;