Skip to content

Commit ec189f1

Browse files
Remove QUnit.expect from amd test
QUnit v2 have removed this API. This prepares for when we decide to upgrade. Closes js-cookiegh-249.
1 parent bccdaf7 commit ec189f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/amd.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ require(['qunit'], function (QUnit) {
33

44
QUnit.start();
55
QUnit.test('module loading', function (assert) {
6-
QUnit.expect(1);
6+
assert.expect(1);
77
var done = assert.async();
88
require(['/src/js.cookie.js'], function (Cookies) {
99
assert.ok(!!Cookies.get, 'should load the api');

0 commit comments

Comments
 (0)