Last active
April 19, 2020 15:56
-
-
Save BirgitPohl/a87a64df5094ff8132a88ada7edf188e to your computer and use it in GitHub Desktop.
Cypress & Cucumber
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
# Calls a function: | |
When I add 1 to my sum |
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
// The function block: | |
When(/I add (\d) to my sum$/, (summand) => { | |
return sum + summand; | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment