Skip to content

Commit ab606db

Browse files
Update integration tests to use the new API
1 parent c7ac58b commit ab606db

File tree

2 files changed

+3
-8
lines changed

2 files changed

+3
-8
lines changed

integrations/vite/svelte.test.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,7 @@ test(
4848
target: document.body,
4949
})
5050
`,
51-
'src/index.css': css`
52-
@import 'tailwindcss/theme' theme(reference);
53-
@import 'tailwindcss/utilities';
54-
`,
51+
'src/index.css': css`@import 'tailwindcss' reference;`,
5552
'src/App.svelte': html`
5653
<script>
5754
import './index.css'

integrations/vite/vue.test.ts

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,15 +45,13 @@ test(
4545
`,
4646
'src/App.vue': html`
4747
<style>
48-
@import 'tailwindcss/utilities';
49-
@import 'tailwindcss/theme' theme(reference);
48+
@import 'tailwindcss' reference;
5049
.foo {
5150
@apply text-red-500;
5251
}
5352
</style>
5453
<style scoped>
55-
@import 'tailwindcss/utilities';
56-
@import 'tailwindcss/theme' theme(reference);
54+
@import 'tailwindcss' reference;
5755
:deep(.bar) {
5856
color: red;
5957
}

0 commit comments

Comments
 (0)