Last active
October 8, 2017 00:43
-
-
Save gpincheiraa/eb5f34ed2aaefa2e40d9d1c186fbc50f to your computer and use it in GitHub Desktop.
todoList.component_spec.js- First Impressions using jest for TDD over AngularJS > 1.5.x — Part I
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 { TodoListController } from "components/todoList.component" | |
describe("TodoListController", () => { | |
let controller | |
beforeEach(() => { | |
controller = new TodoListController() | |
}) | |
it("Should have a defined controller", () => { | |
expect(controller).toBeInstanceOf(TodoListController) | |
}) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment