Last modified: 2012-07-31 00:31:33 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T39390, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 37390 - Update QUnit test suites to use new no-globals and assert-object pattern
Update QUnit test suites to use new no-globals and assert-object pattern
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
Unit tests (Other open bugs)
1.20.x
All All
: Low minor (vote)
: 1.20.0 release
Assigned To: Krinkle
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-06-07 16:20 UTC by Krinkle
Modified: 2012-07-31 00:31 UTC (History)
3 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Krinkle 2012-06-07 16:20:08 UTC
module();

test(, function () {
  expect();

  equal()'

});

 - - >

QUnit.module();

QUnit.test(, function ( assert ) {
  QUnit.expect();

  assert.equal()'

});
Comment 1 Krinkle 2012-06-07 16:22:03 UTC
I implemented this in QUnit a little while back, it was released today as part of QUnit 1.7.0 (our copy is already updated).
Comment 2 Krinkle 2012-07-31 00:31:33 UTC
Fixed in 00af396ea7faef14d9765b0ab09a07a33845c52f.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links