Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
4950fe6f
Commit
4950fe6f
authored
10 years ago
by
Heinrich Fenkart
Browse files
Options
Download
Email Patches
Plain Diff
Perform a cleanup after each test
parent
1e64c4c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/index.html
+7
-1
js/tests/index.html
with
7 additions
and
1 deletion
+7
-1
js/tests/index.html
+
7
-
1
View file @
4950fe6f
...
@@ -38,6 +38,12 @@
...
@@ -38,6 +38,12 @@
}
}
}
}
})
})
// Cleanup
QUnit
.
testDone
(
function
()
{
$
(
'
#qunit-fixture
'
).
empty
()
$
(
'
#modal-test, .modal-backdrop
'
).
remove
()
})
</script>
</script>
<!-- Plugin sources -->
<!-- Plugin sources -->
...
@@ -69,7 +75,7 @@
...
@@ -69,7 +75,7 @@
</head>
</head>
<body>
<body>
<div>
<div
id=
"qunit-container"
>
<div
id=
"qunit"
></div>
<div
id=
"qunit"
></div>
<div
id=
"qunit-fixture"
></div>
<div
id=
"qunit-fixture"
></div>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets