Renaming the "it" function #278

tariqislam opened this Issue Sep 4, 2012 · 1 comment

2 participants



In my code base, there is a global "it" object that is used throughout the JavaScript. Is it possible to rename Jasmine's "it" function to something else so I can test my code before making big refactoring changes, and where would I do that?

Any help would be most appreciated. Thanks!



I don't have a good answer for this. At the moment Jasmine does pollute the global namespace in the name of having very readable tests.

If you take this issue over to the Jasmine mailing list and share some code snippets then perhaps some of the rest of the community can make suggestions?

Closing for now.

@infews infews closed this Sep 6, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment