Skip to content

Commit 3d47ad8

Browse files
Revert "Update QUnit to version 2.0.0"
This reverts commit 337419f. For some reason, the build started failing for IE 6, 7 and 8 after upgrading to QUnit 2.0.0 See https://travis-ci.org/js-cookie/js-cookie/builds/138708313#L1035-L1056
1 parent 337419f commit 3d47ad8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"grunt-jscs": "3.0.0",
3939
"grunt-saucelabs": "8.6.2",
4040
"gzip-js": "0.3.2",
41-
"qunitjs": "2.0.0",
41+
"qunitjs": "1.23.1",
4242
"requirejs": "2.2.0"
4343
}
4444
}

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-
assert.expect(1);
6+
QUnit.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)