UNPKG
cive
Version:
canary (0.0.0-canary-20241215075026)
latest (0.8.1)
0.8.1
0.8.0
0.7.1
0.7.0
0.6.0
0.5.0
0.4.1
0.4.0
0.3.1
0.3.0
0.2.0
0.1.0
0.0.4
0.0.3
0.0.1
0.0.0-canary-20241215075026
0.0.0-canary-20241201103521
0.0.0-canary-20241109075547
0.0.0-canary-20241031151849
0.0.0-canary-20241020093038
0.0.0-canary-20241006042449
0.0.0-canary-20241005122735
0.0.0-canary-20240922091202
0.0.0-canary-20240914113004
0.0.0-canary-20240913131417
0.0.0-canary-20240901023941
0.0.0-canary-20240825130957
0.0.0-canary-20240824131325
0.0.0-canary-20240818112053
0.0.0-canary-20240816150639
0.0.0-canary-20240812143707
0.0.0-canary-20240811144802
0.0.0-canary-20240810091812
0.0.0-canary-20240809152638
0.0.0-canary-20240808151217
0.0.0-canary-20240807141604
0.0.0-canary-20240806134943
0.0.0-canary-20240805154035
0.0.0-canary-20240805153549
0.0.0-canary-20240804110053
0.0.0-canary-20240803150631
0.0.0-canary-20240802153117
0.0.0-canary-20240801145239
0.0.0-canary-20240724144125
0.0.0-canary-20240722150840
0.0.0-canary-20240722134048
0.0.0-canary-20240721084053
Cive is an interface for the Conflux Core Space, built on Viem.
cive.zyx.ee
iosh/cive
cive
/
types
/
abitype
/
narrow.test.ts
8 lines
(5 loc)
•
158 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
import
{ expect, test }
from
'vitest'
import
{ narrow }
from
'./narrow.js'
test
(
'narrow'
,
() =>
{
expect
(
narrow
(
'foo'
)).
toMatchInlineSnapshot
(
'"foo"'
) })