Hugging Face
Models
Datasets
Spaces
Posts
Docs
Solutions
Pricing
Log In
Sign Up
Spaces:
jbilcke-hf
/
clapper
like
20
Running
on
CPU Upgrade
App
Files
Files
Community
1
0de2197
clapper
/
src
/
lib
/
utils
/
cn.test.ts
jbilcke-hf
HF staff
add linter and prettifier
c1f12bf
3 months ago
raw
Copy download link
history
blame
No virus
158 Bytes
import
{ expect, test }
from
'vitest'
import
{ cn }
from
'./cn'
test
(
'cn'
,
() =>
{
expect
(
cn
(
'p-4 m-4'
,
true
?
'm-4 p-2'
:
'p-4 m-2'
)).
toBe
(
'm-4 p-2'
)
})