Skip to content

Commit

Permalink
fix: add content to package.json to pass test
Browse files Browse the repository at this point in the history
  • Loading branch information
xiongmao86 committed Jan 8, 2024
1 parent 1d965ae commit 0acd2a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/lib/utils/audit-error.js
Expand Up @@ -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 = {}
Expand Down

0 comments on commit 0acd2a2

Please sign in to comment.