Index: branches/JSTesting/tests/qunit/suites/resources/jquery/jquery.tablesorter.test.js |
— | — | @@ -7,12 +7,8 @@ |
8 | 8 | wgContentLanguage: 'en' |
9 | 9 | }; |
10 | 10 | |
11 | | -// setup hack |
12 | | -mw.config.set( 'wgMonthNames', [ '', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ] ); |
13 | | -mw.config.set( 'wgMonthNamesShort', ['', 'Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'] ); |
14 | | -mw.config.set( 'wgDefaultDateFormat', 'dmy' ); |
| 11 | +module( 'jquery.tablesorter', QUnit.newMwEnvironment( config ) ); |
15 | 12 | |
16 | | - |
17 | 13 | test( '-- Initial check', function() { |
18 | 14 | expect(1); |
19 | 15 | ok( $.tablesorter, '$.tablesorter defined' ); |