mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-01-23 23:59:02 -06:00
test: use --legacy-peer-deps instead of --force
This commit is contained in:
@@ -285,7 +285,7 @@ test(`should work with eslint v8`, async () => {
|
||||
}
|
||||
})
|
||||
const { read, write, run } = project
|
||||
await run('npm add -D eslint@8 --force')
|
||||
await run('npm add -D eslint@8 --legacy-peer-deps')
|
||||
// should've applied airbnb autofix
|
||||
const main = await read('src/main.js')
|
||||
expect(main).toMatch(';')
|
||||
|
||||
Reference in New Issue
Block a user