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;