Skip to content

Commit 9b25d91

Browse files
committed
test: small refinements
1 parent 099ba93 commit 9b25d91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ test(`should use formatter 'codeframe'`, async () => {
249249
const updatedMain = main.replace(/;/g, '')
250250
await write('src/main.js', updatedMain)
251251

252-
const server = run('vue-cli-service serve --stdin')
252+
const server = run('vue-cli-service serve')
253253

254254
let isFirstMsg = true
255255
server.stdout.on('data', data => {
@@ -282,7 +282,7 @@ test(`should work with eslint v8`, async () => {
282282
}
283283
})
284284
const { read, write, run } = project
285-
await run('npm i -D eslint@^8.0.0-0 eslint-formatter-codeframe')
285+
await run('yarn add -D eslint@^8.0.0-0 eslint-formatter-codeframe')
286286
// should've applied airbnb autofix
287287
const main = await read('src/main.js')
288288
expect(main).toMatch(';')

0 commit comments

Comments
 (0)