Created
December 13, 2017 06:55
-
-
Save Piterden/b991e2defa3e68cbb28a4273d0ff0973 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
this.options = typeof options === 'function' | |
? { steps: [options, ...steps], leaveHandlers: [] } | |
: Object.assign({ steps: steps, leaveHandlers: [] }, options) | |
this.options = typeof options === 'function' | |
? { steps: [options, ...steps], leaveHandlers: [] } | |
: { ...{ steps: steps, leaveHandlers: [] }, ...options } |
dotcypress
commented
Dec 13, 2017
•
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment