Skip to content

Commit

Permalink
Update integration tests to use the new API
Browse files Browse the repository at this point in the history
  • Loading branch information
philipp-spiess committed Nov 29, 2024
1 parent c7ac58b commit ab606db
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 8 deletions.
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

0 comments on commit ab606db

Please sign in to comment.