Skip to content

Instantly share code, notes, and snippets.

@lydemann
Created October 28, 2018 14:33
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save lydemann/48d4ec16665ed4c1a048605165abcd0b to your computer and use it in GitHub Desktop.
component spec with component mocks
TestBed.configureTestingModule({
declarations: [
TodoListComponent,
TodoItemComponentMock,
AddTodoComponentMock
],
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment