Created
June 25, 2018 18:30
-
-
Save stalniy/e643d26880763610cf7e05656b7ecac5 to your computer and use it in GitHub Desktop.
Lazy vars include behavior
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
function itBehavesLike(type) { | |
var args = arguments; | |
describe('behaves like "' + type + '"', function() { | |
includeExamplesFor.apply(this, args); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment