Last active
May 7, 2018 22:26
-
-
Save advorkina/657f28ee33e17ce96df54b2848a0dc39 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
describe("selectFolder", () => { | |
it("should update selectedFolder property with passed folder", () => { | |
// arrange | |
component.selectedFolder = undefined; | |
let folder: IFolder = new Folder(1, "Harry Potter"); | |
// act | |
component.selectFolder(folder); | |
// assert | |
expect(component.selectedFolder).toBe(folder); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment