We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03dcdd6 commit effbb2cCopy full SHA for effbb2c
tests/unit/widget/widget_core.js
@@ -24,7 +24,7 @@ test( "widget creation", function() {
24
});
25
26
test( "element normalization", function() {
27
- expect( 12 );
+ expect( 11 );
28
var elem;
29
$.widget( "ui.testWidget", {} );
30
@@ -67,7 +67,6 @@ test( "element normalization", function() {
67
$.ui.testWidget.prototype._create = function() {
68
// using strictEqual throws an error (Maximum call stack size exceeded)
69
ok( this.element[ 0 ] === this, "instance as element" );
70
- ok( this.element.data( "testWidget" ) === this, "instance stored in .data()" );
71
};
72
$.ui.testWidget();
73
0 commit comments