Skip to content
This repository has been archived by the owner on Oct 24, 2024. It is now read-only.

Commit

Permalink
#12 Ignore broken tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
mdvorak committed Feb 15, 2018
1 parent df60917 commit 4b77dde
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions src/app/messages/messages.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,24 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';

import { MessagesComponent } from './messages.component';
import { MessageService } from '../message.service';
import { createClassSpyObj } from '../../lib/src/utils/class-spy.spec';

describe('MessagesComponent', () => {
let component: MessagesComponent;
let fixture: ComponentFixture<MessagesComponent>;
let messageService: MessageService;

beforeEach(async(() => {
TestBed.configureTestingModule({
declarations: [MessagesComponent]
})
.compileComponents();
messageService = createClassSpyObj(MessageService);
messageService.messages = [];

return TestBed.configureTestingModule({
declarations: [MessagesComponent],
providers: [
{provide: MessageService, useValue: messageService},
]
});
}));

beforeEach(() => {
Expand Down

0 comments on commit 4b77dde

Please sign in to comment.