fix index in test name
This commit is contained in:
parent
88a2d22c2f
commit
0d6e038889
1 changed files with 3 additions and 3 deletions
|
|
@ -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`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue