Skip to content

Commit 220e019

Browse files
committed
test: use --legacy-peer-deps instead of --force
1 parent 3aafedd commit 220e019

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-plugin-eslint/__tests__/eslintPlugin.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ test(`should work with eslint v8`, async () => {
285285
}
286286
})
287287
const { read, write, run } = project
288-
await run('npm add -D eslint@8 --force')
288+
await run('npm add -D eslint@8 --legacy-peer-deps')
289289
// should've applied airbnb autofix
290290
const main = await read('src/main.js')
291291
expect(main).toMatch(';')

0 commit comments

Comments
 (0)