Update unit tests with a leak detection mechanism for the various jQuery globals and fix all leaks in the tests.
This commit is contained in:
parent
80af46e8ff
commit
e2941d5a98
15 changed files with 189 additions and 38 deletions
|
@ -1,4 +1,4 @@
|
|||
module("core");
|
||||
module("core", { teardown: moduleTeardown });
|
||||
|
||||
test("Basic requirements", function() {
|
||||
expect(7);
|
||||
|
@ -84,6 +84,9 @@ test("jQuery()", function() {
|
|||
|
||||
exec = true;
|
||||
elem.click();
|
||||
|
||||
// manually clean up detached elements
|
||||
elem.remove();
|
||||
});
|
||||
|
||||
test("selector state", function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue