Created
May 22, 2019 14:31
-
-
Save jtenner/4ba6f6ce53bd9b0e79662c2e3776dc1e to your computer and use it in GitHub Desktop.
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
let myFoo: Foo = new Foo(); | |
describe("Foo", (): void => { | |
describe("#add()", (): void => { | |
// Reads like: Foo#add() should add two integers togehter | |
it("should add two integers together", (): void => { | |
expect<i32>(myFoo.add(19, 23)).toBe(42, "19 + 23 should be 42"); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment