fix index in test name

This commit is contained in:
Robin Malfait 2026-03-25 12:04:47 +01:00
parent 88a2d22c2f
commit 0d6e038889
No known key found for this signature in database

View file

@ -650,8 +650,8 @@ describe.each([['default'], ['with-variant'], ['important'], ['prefix']])('%s',
)
.join('\n')
for (let [candidate, expected] of deprecated) {
test(`\`${candidate}\` → \`${expected}\` (%#)`, { timeout }, async () => {
for (let [idx, [candidate, expected]] of deprecated.entries()) {
test(`\`${candidate}\` → \`${expected}\` (${idx})`, { timeout }, async () => {
let input = css`
@import 'tailwindcss';
`
@ -660,7 +660,7 @@ describe.each([['default'], ['with-variant'], ['important'], ['prefix']])('%s',
})
test(
`\`${candidate}\` → \`${candidate}\` because of custom implementation (%#)`,
`\`${candidate}\` → \`${candidate}\` because of custom implementation (${idx})`,
{ timeout },
async () => {
let input = css`