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:
David Anson 2017-07-17 22:23:00 -07:00
parent 0a678d25c1
commit 0211abf1ba
5 changed files with 29 additions and 19 deletions

View file

@ -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.");