Created
March 7, 2018 19:15
-
-
Save jplew/66081e668e78c3e384c5d4dd72abba9f to your computer and use it in GitHub Desktop.
game-message.component.spec.ts
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { async, ComponentFixture, TestBed } from '@angular/core/testing' | |
import { GameMessageComponent } from './game-message.component' | |
import { PlayerService } from '@app/services/player.service' | |
import { ControllerService } from '@app/services/controller.service' | |
describe('GameMessageComponent', () => { | |
let component: GameMessageComponent | |
let fixture: ComponentFixture<GameMessageComponent> | |
beforeEach( | |
async(() => { | |
TestBed.configureTestingModule({ | |
declarations: [GameMessageComponent], | |
providers: [PlayerService, ControllerService], | |
}).compileComponents() | |
}) | |
) | |
beforeEach(() => { | |
fixture = TestBed.createComponent(GameMessageComponent) | |
component = fixture.componentInstance | |
fixture.detectChanges() | |
}) | |
it('should create', () => { | |
expect(component).toBeTruthy() | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment