diff --git a/test/lib/utils/audit-error.js b/test/lib/utils/audit-error.js index f6be56a152f71..0b977ba7d64f8 100644 --- a/test/lib/utils/audit-error.js +++ b/test/lib/utils/audit-error.js @@ -11,7 +11,7 @@ const auditError = async (t, { command, error, ...config } = {}) => { command, config, exec: true, - prefixDir: { 'package.json': '{}', 'package-lock.json': '{}' }, + prefixDir: { 'package.json': '{ "name": "does not matter" }', 'package-lock.json': '{}' }, }) const res = {}