Skip to content

Commit

Permalink
chore: update test
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon-He95 committed Apr 22, 2024
1 parent 17520c7 commit 91e9ff8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -121,8 +121,8 @@ describe('should', () => {
).toMatchInlineSnapshot('":class=\\" shadow-[0px_5px_10px_1px_rgba(1,1,1,1)] bg-[rgba(1,1,1,1)] bg-[#eee]\\""')
})
it('magic transform strictVariable', () => {
expect(transform(':class=" w-1"')).toMatchInlineSnapshot('":class=\\" w-1\\""')
expect(transform(':class=" pt-8"')).toMatchInlineSnapshot('":class=\\" pt-8\\""')
expect(transform(':class=" w1"')).toMatchInlineSnapshot('":class=\\" w-1\\""')
expect(transform(':class=" pt8"')).toMatchInlineSnapshot('":class=\\" pt-8\\""')
expect(transform(':class=" bgrgba(1,1,1,1)"')).toMatchInlineSnapshot('":class=\\" bg-[rgba(1,1,1,1)]\\""')
})
})

0 comments on commit 91e9ff8

Please sign in to comment.