From 0a7dff0af635e252c31565d025da0ecfa9e0fcf8 Mon Sep 17 00:00:00 2001 From: Dany Castillo <31006608+dcastil@users.noreply.github.com> Date: Sat, 16 Mar 2024 17:03:23 +0100 Subject: [PATCH] add test case for fix --- tests/validators.test.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/validators.test.ts b/tests/validators.test.ts index 4a67630..ba7bdf1 100644 --- a/tests/validators.test.ts +++ b/tests/validators.test.ts @@ -166,6 +166,7 @@ test('isArbitraryNumber', () => { test('isArbitraryShadow', () => { expect(isArbitraryShadow('[0_35px_60px_-15px_rgba(0,0,0,0.3)]')).toBe(true) + expect(isArbitraryShadow('[inset_0_1px_0,inset_0_-1px_0]')).toBe(true) expect(isArbitraryShadow('[0_0_#00f]')).toBe(true) expect(isArbitraryShadow('[.5rem_0_rgba(5,5,5,5)]')).toBe(true) expect(isArbitraryShadow('[-.5rem_0_#123456]')).toBe(true)