Created
June 20, 2021 22:40
-
-
Save ibrahimBanat/bc97bc97f3b43c3ee38db5ff3dfdf01c to your computer and use it in GitHub Desktop.
This file contains 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
it("should return exception when passing empty array", () => { | |
//arrange | |
let arr = []; | |
//act | |
let sorted = insertionSort(arr); | |
//assert | |
expect(sorted).toEqual("Exception"); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment