mirror of
https://github.com/S2-/minifyfromhtml.git
synced 2025-08-04 12:40:05 +02:00
update packages to latest version
This commit is contained in:
14
node_modules/npm/test/tap/config-malformed.js
generated
vendored
Normal file
14
node_modules/npm/test/tap/config-malformed.js
generated
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
var test = require('tap').test
|
||||
|
||||
var npmconf = require("../../lib/config/core.js")
|
||||
var common = require("./00-config-setup.js")
|
||||
|
||||
test('with malformed', function (t) {
|
||||
npmconf.load({}, common.malformed, function (er, conf) {
|
||||
t.ok(er, 'Expected parse error')
|
||||
if (!(er && /Failed parsing JSON config key email/.test(er.message))) {
|
||||
throw er
|
||||
}
|
||||
t.end()
|
||||
})
|
||||
})
|
Reference in New Issue
Block a user