Last active
May 23, 2019 22:00
-
-
Save krishna-acondy/8c46e32d44720e36dabb0dbfa8b59f1d to your computer and use it in GitHub Desktop.
Angular Unit Testing - TodosComponent Simplest
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
describe('TodosComponent', () => { | |
let testHarness: TestHarness<TodosComponent>; | |
beforeEach(async () => { | |
await setupTestModule(TodosTestModule); | |
testHarness = createTestHarness(TodosComponent); | |
}); | |
it('should create', () => { | |
expect(testHarness.hasComponentCreated).toBeTruthy(); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment