Skip to content

Commit d89689e

Browse files
committed
remove test that requires Tailwind CSS v3
1 parent cf99d92 commit d89689e

File tree

1 file changed

+0
-34
lines changed

1 file changed

+0
-34
lines changed

integrations/upgrade/index.test.ts

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -2595,40 +2595,6 @@ test(
25952595
},
25962596
)
25972597

2598-
test(
2599-
'requires Tailwind v3 before attempting an upgrade',
2600-
{
2601-
fs: {
2602-
'package.json': json`
2603-
{
2604-
"dependencies": {
2605-
"tailwindcss": "workspace:^",
2606-
"@tailwindcss/upgrade": "workspace:^"
2607-
}
2608-
}
2609-
`,
2610-
'tailwind.config.ts': js` export default {} `,
2611-
'src/index.html': html`
2612-
<div class="underline"></div>
2613-
`,
2614-
'src/index.css': css`
2615-
@tailwind base;
2616-
@tailwind components;
2617-
@tailwind utilities;
2618-
`,
2619-
},
2620-
},
2621-
async ({ exec, expect }) => {
2622-
let output = await exec('npx @tailwindcss/upgrade', {}, { ignoreStdErr: true }).catch((e) =>
2623-
e.toString(),
2624-
)
2625-
2626-
expect(output).toMatch(
2627-
/Tailwind CSS v.* found. The migration tool can only be run on v3 projects./,
2628-
)
2629-
},
2630-
)
2631-
26322598
test(
26332599
`upgrades opacity namespace values to percentages`,
26342600
{

0 commit comments

Comments
 (0)