We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f183af4 commit dd25699Copy full SHA for dd25699
tests/unit/controlgroup/core.js
@@ -161,12 +161,12 @@ QUnit.test( "Single controlgroup button - vertical", function( assert ) {
161
} );
162
163
QUnit.module( "Controlgroup: Non-empty class key", {
164
- setup: function() {
+ beforeEach: function() {
165
this.classKey = $.ui.selectmenu.prototype.options.classes[ "ui-selectmenu-button-closed" ];
166
$.ui.selectmenu.prototype.options.classes[ "ui-selectmenu-button-closed" ] =
167
"something-custom";
168
},
169
- teardown: function() {
+ afterEach: function() {
170
$.ui.selectmenu.prototype.options.classes[ "ui-selectmenu-button-closed" ] = this.classKey;
171
}
172
0 commit comments