Skip to content

Commit e4453ac

Browse files
committed
Save the fixture after the enhancement, then start
1 parent 0a81d6d commit e4453ac

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

tests/jquery.testHelper.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,13 @@
1414

1515
function loadSeq( seq, i ){
1616
if( !seq[i] ){
17-
QUnit.start();
17+
$( document ).ready( function() {
18+
var $fixture = $( '#qunit-fixture' );
19+
if ( $fixture.length ) {
20+
QUnit.config.fixture = $fixture.html();
21+
}
22+
QUnit.start();
23+
});
1824
return;
1925
}
2026

0 commit comments

Comments
 (0)