angular4-testing/project-manager/src/app/blog/blog.component.spec.ts

14 lines
271 B
TypeScript

describe("Blog Component", () => {
it("should succeed on basic logic check", () => {
expect(1+1).toEqual(2);
expect(true).toBe(true)
})
it("should fail on basic logic check error", () => {
expect(1+1).toEqual(2);
expect(true).toBe(false)
})
})