Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add window.QUnit.reset() #1598

Closed
wants to merge 1 commit into from
Closed

Conversation

izelnakri
Copy link
Contributor

@izelnakri izelnakri commented Apr 21, 2021

Adds window.QUnit.reset() public API to make qunit state reset-able for future test suite restarts without page refreshes.

Relevant discussion: izelnakri/qunitx#2

@rwjblue
Copy link
Contributor

rwjblue commented Apr 21, 2021

Adds window.QUnit.reset()

Hmm, isn't this adding a function named restart?

@izelnakri
Copy link
Contributor Author

izelnakri commented Apr 22, 2021

I thought reset is a better name because Im not calling this.start() inside the window.QUnit.reset().

Ive intentionally kept it this way because test modules need to be loaded/reevaluated before QUnit.start() and only after QUnit.reset()

Copy link
Member

@Krinkle Krinkle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks so much. I'm setting a negative score here for now to hold this back from my review queue while we continue at izelnakri/qunitx#2 (comment) (or elsewhere/here if you prefer).

@Krinkle Krinkle closed this May 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants