test(utilities): add test suite for interpolate-size utility

This commit is contained in:
abdelrhmanahmed 2026-09-27 01:31:29 +03:00
parent fa81d697fe
commit b27065e6d5

View file

@ -3266,6 +3266,23 @@ test('field-sizing', async () => {
).toEqual('')
})
test('interpolate-size', async () => {
expect(await run(['interpolate-size-allow', 'interpolate-size-numeric'])).toMatchInlineSnapshot(`
"
.interpolate-size-allow {
interpolate-size: allow-keywords;
}
.interpolate-size-numeric {
interpolate-size: numeric-only;
}
"
`)
expect(
await run(['interpolate-size-[other]', '-interpolate-size-allow', '-interpolate-size-numeric']),
).toEqual('')
})
test('aspect-ratio', async () => {
expect(
await run(