Skip to content
Prev Previous commit
Next Next commit
Update integration tests to use the new API
  • Loading branch information
philipp-spiess committed Dec 3, 2024
commit a3a85dc9c0f0f6e229f0632c59a836012813bc05
5 changes: 1 addition & 4 deletions integrations/vite/svelte.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,7 @@ test(
target: document.body,
})
`,
'src/index.css': css`
@import 'tailwindcss/theme' theme(reference);
@import 'tailwindcss/utilities';
`,
'src/index.css': css`@import 'tailwindcss' reference;`,
'src/App.svelte': html`
<script>
import './index.css'
Expand Down
6 changes: 2 additions & 4 deletions integrations/vite/vue.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,15 +45,13 @@ test(
`,
'src/App.vue': html`
<style>
@import 'tailwindcss/utilities';
@import 'tailwindcss/theme' theme(reference);
@import 'tailwindcss' reference;
.foo {
@apply text-red-500;
}
</style>
<style scoped>
@import 'tailwindcss/utilities';
@import 'tailwindcss/theme' theme(reference);
@import 'tailwindcss' reference;
:deep(.bar) {
color: red;
}
Expand Down