We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a78ae2 commit 7db5bb0Copy full SHA for 7db5bb0
packages/tailwindcss/src/utils/to-key-path.test.ts
@@ -9,4 +9,5 @@ it('can convert key paths to arrays', () => {
9
expect(toKeyPath('colors[red].[500]')).toEqual(['colors', 'red', '500'])
10
expect(toKeyPath('colors[red]500')).toEqual(['colors', 'red', '500'])
11
expect(toKeyPath('colors[red][500]')).toEqual(['colors', 'red', '500'])
12
+ expect(toKeyPath('colors[red]500[50]5')).toEqual(['colors', 'red', '500', '50', '5'])
13
})
0 commit comments