Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Renaming the "it" function #278

Closed
tariqislam opened this Issue · 1 comment

2 participants

Tariq Islam Davis W. Frank
Tariq Islam

Hi,

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!

Tariq

Davis W. Frank
Owner

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.

Davis W. Frank infews closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.