jquery/test/unit/exports.js
Oleg Gaidarenko b930d14ce6 Tests: partially use new qunit interface
http://qunitjs.com/upgrade-guide-2.x/

For most of the boring work was used
https://github.com/apsdehal/qunit-migrate package

However, it can't update local qunit helpers, plus in some places
old QUnit.asyncTest signature is still used

Fixes gh-2540
2015-08-16 09:02:01 +03:00

8 lines
205 B
JavaScript

QUnit.module("exports", { teardown: moduleTeardown });
QUnit.test("amdModule", function( assert ) {
assert.expect(1);
assert.equal( jQuery, amdDefined, "Make sure defined module matches jQuery" );
});