UNPKG
@indielayer/ui
Version:
alpha (1.0.0-alpha.9)
dev (0.0.0-dev-20240212133527)
latest (1.15.3)
1.15.3
1.15.2
1.15.1
1.15.0
1.14.5
1.14.4
1.14.3
1.14.2
1.14.1
1.14.0
1.13.2
1.13.1
1.13.0
1.12.1
1.12.0
1.11.0
1.10.5
1.10.4
1.10.3
1.10.2
1.10.1
1.10.0
1.9.3
1.9.2
1.9.1
1.9.0
1.8.4
1.8.3
1.8.2
1.8.1
1.8.0
1.7.5
1.7.4
1.7.3
1.7.2
1.7.1
1.7.0
1.6.3
1.6.2
1.6.1
1.6.0
1.5.2
1.5.1
1.5.0
1.4.0
1.3.0
1.2.0
1.1.0
1.0.10
1.0.9
1.0.8
1.0.7
1.0.6
1.0.5
1.0.4
1.0.3
1.0.2
1.0.1
1.0.0
1.0.0-alpha.9
1.0.0-alpha.8
1.0.0-alpha.7
1.0.0-alpha.6
1.0.0-alpha.5
1.0.0-alpha.3
1.0.0-alpha.2
1.0.0-alpha.0
0.2.4
0.2.3
0.2.2
0.2.1
0.2.0
0.1.1
0.1.0
0.0.0-dev-20240212133527
0.0.0-dev-20240205230210
0.0.0-dev-20240205224808
0.0.0-dev-20240202140555
0.0.0-dev-20240129122517
0.0.0-dev-20240127005325
0.0.0-dev-20240125104319
Indielayer UI Components with Tailwind CSS build for Vue 3
github.com/indielayer/ui
indielayer/ui
@indielayer/ui
/
src
/
components
/
toggle
/
__tests__
/
Toggle.spec.ts
12 lines
(9 loc)
•
267 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
import
{ describe, it, expect }
from
'vitest'
import
{ mount }
from
'@vue/test-utils'
import
Toggle
from
'../Toggle.vue'
describe
(
'Toggle'
,
() =>
{
it
(
'renders without errors'
,
() =>
{
const
wrapper =
mount
(
Toggle
)
expect
(wrapper.
vm
).
toBeTruthy
() }) })