forked from qunitjs/qunit
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On load, set clone qunit-fixture element and set config.fixture equal to that. Change the reset function to replace the entire qunit-fixture element with a deep copy of the clone. Essentially, cache a clean copy of the fixture node on load and replace subsequent fixture nodes with that. Added tests to check if properties on the fixture are cleared between tests.
- Loading branch information
Showing
2 changed files
with
8 additions
and
6 deletions.
There are no files selected for viewing
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 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