mirror of
https://github.com/DavidAnson/markdownlint.git
synced 2025-12-17 06:20:12 +01:00
Update dependencies: browserify to 14.4.0, eslint to 4.2.0, nodeunit to 0.11.1, uglify-js to 3.0.25.
This commit is contained in:
parent
0a678d25c1
commit
0211abf1ba
5 changed files with 29 additions and 19 deletions
|
|
@ -1349,9 +1349,10 @@ module.exports.configMultiple = function configMultiple(test) {
|
|||
markdownlint.readConfig("./test/config-grandparent.json",
|
||||
function callback(err, actual) {
|
||||
test.ifError(err);
|
||||
var expected = shared.assign(shared.assign(shared.assign({},
|
||||
require("./config-child.json")),
|
||||
require("./config-parent.json")),
|
||||
var expected = shared.assign(
|
||||
shared.assign(
|
||||
shared.assign({}, require("./config-child.json")),
|
||||
require("./config-parent.json")),
|
||||
require("./config-grandparent.json"));
|
||||
delete expected.extends;
|
||||
test.deepEqual(actual, expected, "Config object not correct.");
|
||||
|
|
@ -1426,9 +1427,10 @@ module.exports.configAbsoluteSync = function configAbsoluteSync(test) {
|
|||
module.exports.configMultipleSync = function configMultipleSync(test) {
|
||||
test.expect(1);
|
||||
var actual = markdownlint.readConfigSync("./test/config-grandparent.json");
|
||||
var expected = shared.assign(shared.assign(shared.assign({},
|
||||
require("./config-child.json")),
|
||||
require("./config-parent.json")),
|
||||
var expected = shared.assign(
|
||||
shared.assign(
|
||||
shared.assign({}, require("./config-child.json")),
|
||||
require("./config-parent.json")),
|
||||
require("./config-grandparent.json"));
|
||||
delete expected.extends;
|
||||
test.deepEqual(actual, expected, "Config object not correct.");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue