Skip to content

Commit 3aafedd

Browse files
committed
test: fix failing eslint tests that caused by newer npm versions
1 parent 31d9615 commit 3aafedd

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.0.0-0')
288+
await run('npm add -D eslint@8 --force')
289289
// should've applied airbnb autofix
290290
const main = await read('src/main.js')
291291
expect(main).toMatch(';')

0 commit comments

Comments
 (0)