1 var test = require('tap').test
3 var npmconf = require("../../lib/config/core.js")
4 var common = require("./00-config-setup.js")
6 test('with malformed', function (t) {
7 npmconf.load({}, common.malformed, function (er, conf) {
8 t.ok(er, 'Expected parse error')
9 if (!(er && /Failed parsing JSON config key email/.test(er.message))) {