git.asbjorn.biz
/
jquery.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update unit tests with a leak detection mechanism for the various jQuery globals...
[jquery.git]
/
test
/
unit
/
core.js
diff --git
a/test/unit/core.js
b/test/unit/core.js
index
8fd0605
..
6231b1d
100644
(file)
--- a/
test/unit/core.js
+++ b/
test/unit/core.js
@@
-1,4
+1,4
@@
-module("core");
+module("core", { teardown: moduleTeardown });
test("Basic requirements", function() {
expect(7);
test("Basic requirements", function() {
expect(7);
@@
-84,6
+84,9
@@
test("jQuery()", function() {
exec = true;
elem.click();
exec = true;
elem.click();
+
+ // manually clean up detached elements
+ elem.remove();
});
test("selector state", function() {
});
test("selector state", function() {