Skip to content

Commit 3c1874f

Browse files
committed
Update tests
1 parent 8ac2e67 commit 3c1874f

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

integrations/cli/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ describe.each([
167167
candidate`hocus:underline`,
168168
css`
169169
.text-primary {
170-
color: var(--color-primary, black);
170+
color: var(--color-primary);
171171
}
172172
`,
173173
])
@@ -207,7 +207,7 @@ describe.each([
207207
await fs.expectFileToContain('project-a/dist/out.css', [
208208
css`
209209
.text-primary {
210-
color: var(--color-primary, red);
210+
color: var(--color-primary);
211211
}
212212
`,
213213
])

integrations/postcss/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ test(
404404
candidate`hocus:underline`,
405405
css`
406406
.text-primary {
407-
color: var(--color-primary, black);
407+
color: var(--color-primary);
408408
}
409409
`,
410410
])
@@ -446,7 +446,7 @@ test(
446446
await fs.expectFileToContain('project-a/dist/out.css', [
447447
css`
448448
.text-primary {
449-
color: var(--color-primary, red);
449+
color: var(--color-primary);
450450
}
451451
`,
452452
])

integrations/vite/index.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ for (let transformer of ['postcss', 'lightningcss']) {
334334
candidate`flex`,
335335
css`
336336
.text-primary {
337-
color: var(--color-primary, black);
337+
color: var(--color-primary);
338338
}
339339
`,
340340
])
@@ -356,7 +356,7 @@ for (let transformer of ['postcss', 'lightningcss']) {
356356

357357
expect(styles).toContain(css`
358358
.text-primary {
359-
color: var(--color-primary, red);
359+
color: var(--color-primary);
360360
}
361361
`)
362362
})

0 commit comments

Comments
 (0)