Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootlint.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2018-12-28 17:39:16 +0300
committerXhmikosR <xhmikosr@gmail.com>2018-12-28 18:34:22 +0300
commit0d5abb5e76565cc1ce1cbcd74482c59869a51d06 (patch)
tree72409b6be4f7dbe14a0fe418d1a70301cd9b71ae
parentfdf15ea9792343a528a7881546cd83e7b0f13e0b (diff)
Update QUnit to v1.23.1.
-rw-r--r--package-lock.json6
-rw-r--r--package.json2
-rw-r--r--test/fixtures/generic-qunit.js8
3 files changed, 8 insertions, 8 deletions
diff --git a/package-lock.json b/package-lock.json
index d484ae1..a09721f 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -4154,9 +4154,9 @@
"dev": true
},
"qunitjs": {
- "version": "1.15.0",
- "resolved": "https://registry.npmjs.org/qunitjs/-/qunitjs-1.15.0.tgz",
- "integrity": "sha1-NTanggSYTby4LmK8q32NEWZIUDc=",
+ "version": "1.23.1",
+ "resolved": "https://registry.npmjs.org/qunitjs/-/qunitjs-1.23.1.tgz",
+ "integrity": "sha1-GXHPl6yb4Bpk0jFVCNLkjm/U5xk=",
"dev": true
},
"randombytes": {
diff --git a/package.json b/package.json
index ea792ff..16c553a 100644
--- a/package.json
+++ b/package.json
@@ -51,7 +51,7 @@
"node-qunit-phantomjs": "^2.0.1",
"nodeunit": "^0.11.3",
"nyc": "^13.1.0",
- "qunitjs": "1.15.0",
+ "qunitjs": "1.23.1",
"rewire": "^4.0.1",
"sinon": "^7.2.2"
},
diff --git a/test/fixtures/generic-qunit.js b/test/fixtures/generic-qunit.js
index 6048a8d..2acb44f 100644
--- a/test/fixtures/generic-qunit.js
+++ b/test/fixtures/generic-qunit.js
@@ -14,11 +14,11 @@
}
QUnit.test(window.location.pathname, function (assert) {
- // Remove checkboxes QUnit dynamically adds to the DOM as part of its UI
- // because these checkboxes may not comply with some Bootlint checks.
- $('#qunit-filter-pass, #qunit-urlconfig-noglobals, #qunit-urlconfig-notrycatch').remove();
+ // Remove checkboxes QUnit dynamically adds to the DOM as part of its UI,
+ // because these checkboxes do not comply with some Bootlint checks.
+ $('.qunit-filter').remove();
- expect(1);
+ assert.expect(1);
var lints = Array.prototype.slice.call(document.querySelectorAll('#bootlint>li'));
var expectedLintMsgs = lints.map(function (item) {
return item.dataset.lint;