Last active
June 26, 2023 04:45
-
-
Save pmatsinopoulos/f629e13807599134c336a2ec3b5726e8 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
describe('squeeze function', function () { | |
context('when string is "Hello World!" and set of characters is "oe"', function () { | |
var input = "Hello World!"; | |
var setOfCharacters = "oe"; | |
it('should return "Hll Wrld!"', function () { | |
var result = "Hll Wrld!"; | |
expect(squeeze(input, setOfCharacters)).toBe(result); | |
}); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment