Skip to content
This repository was archived by the owner on Mar 4, 2025. It is now read-only.

Commit 46594db

Browse files
committed
fix(ava): expect vm truthy as vue instance assertion
1 parent 8c218b1 commit 46594db

File tree

1 file changed

+2
-2
lines changed
  • packages/cna-template/template/frameworks/ava/test/specs

1 file changed

+2
-2
lines changed
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
import { mount } from '@vue/test-utils'
21
import test from 'ava'
2+
import { mount } from '@vue/test-utils'
33
import Logo from '@/components/Logo.vue'
44

55
test('is a Vue instance', (t) => {
66
const wrapper = mount(Logo)
7-
t.is(wrapper.vm, true)
7+
t.truthy(wrapper.vm)
88
})

0 commit comments

Comments
 (0)