Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
fix older test
  • Loading branch information
RobinMalfait committed May 19, 2025
commit ecb0f20f9e413f61abbec71a82ef9c3a3efe7508
36 changes: 18 additions & 18 deletions integrations/upgrade/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2980,21 +2980,21 @@ test(
}
`,
'src/index.vue': html`
<template
<template>
<div class="!flex"></div>
</template>

<style>
@reference "./input.css";
@reference "./input.css";

.foo {
@apply !bg-red-500;
}
.foo {
@apply !bg-red-500;
}

.bar {
/* Do not upgrade the key: */
flex-shrink: 0;
}
.bar {
/* Do not upgrade the key: */
flex-shrink: 0;
}
</style>
`,
'src/input.css': css`
Expand All @@ -3016,21 +3016,21 @@ test(
expect(await fs.dumpFiles('./src/**/*.{css,vue}')).toMatchInlineSnapshot(`
"
--- ./src/index.vue ---
<template
<template>
<div class="flex!"></div>
</template>

<style>
@reference "./input.css";
@reference "./input.css";

.foo {
@apply !bg-red-500;
}
.foo {
@apply !bg-red-500;
}

.bar {
/* Do not upgrade the key: */
flex-shrink: 0;
}
.bar {
/* Do not upgrade the key: */
flex-shrink: 0;
}
</style>

--- ./src/input.css ---
Expand Down