Skip to content

Commit

Permalink
add test case for fix
Browse files Browse the repository at this point in the history
  • Loading branch information
dcastil committed Mar 16, 2024
1 parent 41117c8 commit 0a7dff0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/validators.test.ts
Expand Up @@ -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)
Expand Down

0 comments on commit 0a7dff0

Please sign in to comment.