File tree Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Expand file tree Collapse file tree 1 file changed +0
-34
lines changed Original file line number Diff line number Diff line change @@ -2595,40 +2595,6 @@ test(
2595
2595
} ,
2596
2596
)
2597
2597
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
- / T a i l w i n d C S S v .* f o u n d . T h e m i g r a t i o n t o o l c a n o n l y b e r u n o n v 3 p r o j e c t s ./ ,
2628
- )
2629
- } ,
2630
- )
2631
-
2632
2598
test (
2633
2599
`upgrades opacity namespace values to percentages` ,
2634
2600
{
You can’t perform that action at this time.
0 commit comments