Skip to content

Commit feae5fe

Browse files
Allow tests to run on Node v6, by removing async functions from tests
1 parent 8ca412c commit feae5fe

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,8 @@ test("Work correctly with Vue.extend", t => {
401401
t.plan(2)
402402
const SubVue = Vue.extend({
403403
asyncComputed: {
404-
async x () {
405-
return 1
404+
x () {
405+
return Promise.resolve(1)
406406
}
407407
}
408408
})

0 commit comments

Comments
 (0)