UNPKG
hae-mobile-ui
Version:
latest (0.9.0)
0.9.0
Pure UI Library For Hae
hae-mobile-ui
/
src
/
components
/
card
/
test.js
12 lines
(9 loc)
•
244 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
Comp
from
'./index.vue'
import
{ mount }
from
'vue-test-utils'
import
{ expect }
from
'chai'
describe
(
'Card'
,
() =>
{
it
(
'basic'
,
() =>
{
const
wrapper =
mount
(
Comp
)
expect
(wrapper.
name
()).
to
.
equal
(
'card'
) }) })