Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Fenkart <hnrch02@gmail.com>2015-02-26 10:20:42 +0300
committerHeinrich Fenkart <hnrch02@gmail.com>2015-02-26 10:20:42 +0300
commit3bb05b5fbb6bbf247923a53829b53a27f1b6972b (patch)
treefcfb0b6bf9e6b9539a9d2cda4fe68ce3e83e1abe /js/tests/unit/tab.js
parent442d2dd458c6283c7ecb75c6eb7cb4bcee916eab (diff)
Unit tests: Use new names of module hooks
Refs #15893
Diffstat (limited to 'js/tests/unit/tab.js')
-rw-r--r--js/tests/unit/tab.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/tab.js b/js/tests/unit/tab.js
index 215178cc89..d497de454a 100644
--- a/js/tests/unit/tab.js
+++ b/js/tests/unit/tab.js
@@ -8,11 +8,11 @@ $(function () {
})
QUnit.module('tabs', {
- setup: function () {
+ beforeEach: function () {
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$.fn.bootstrapTab = $.fn.tab.noConflict()
},
- teardown: function () {
+ afterEach: function () {
$.fn.tab = $.fn.bootstrapTab
delete $.fn.bootstrapTab
}