Skip to content

Commit b1bba2f

Browse files
committed
test: fix eslint tests
1 parent 14e8585 commit b1bba2f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,7 @@ test('should work', async () => {
7777
expect(isFirstMsg).toBe(true)
7878
isFirstMsg = false
7979
// fix it
80-
setTimeout(() => {
81-
write('src/App.vue', app)
82-
}, process.env.CI ? 2000 : 200)
80+
write('src/App.vue', app)
8381
} else if (data.match(/Compiled successfully/)) {
8482
// should compile on 2nd update
8583
expect(isFirstMsg).toBe(false)

0 commit comments

Comments
 (0)