Skip to content

Commit

Permalink
fixed part of oppia#10474: alert services
Browse files Browse the repository at this point in the history
  • Loading branch information
mmkm10 committed Jan 8, 2021
1 parent 0f296b9 commit b9dedc7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/templates/services/alerts.service.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ import { TestBed } from '@angular/core/testing';
import { AlertsService } from 'services/alerts.service';

describe('Alerts Service', function() {
let alertsService: AlertsService = null;
let alertsService: AlertsService;

beforeEach(() => {
TestBed.configureTestingModule({
Expand Down Expand Up @@ -148,7 +148,7 @@ describe('Alerts Service', function() {
alertsService.deleteMessage({
type: 'info',
content: message,
timeout: null
timeout: 0
});
expect(alertsService.messages.length).toBe(2);

Expand Down Expand Up @@ -178,7 +178,7 @@ describe('Alerts Service', function() {
alertsService.deleteMessage({
type: 'info',
content: message,
timeout: null
timeout: 0
});
expect(alertsService.messages.length).toBe(2);

Expand Down

0 comments on commit b9dedc7

Please sign in to comment.