Skip to content

Commit abe97d8

Browse files
committed
test: fix test assertions
1 parent 93b73fb commit abe97d8

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

test/nuxt/components/CommandPalette.spec.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,9 @@ describe('CommandPalette', () => {
168168
'[data-command-id="background-themes"] [data-command-preview="true"]',
169169
)
170170

171-
expect(accentPreview).not.toBeNull()
172-
expect(backgroundPreview).not.toBeNull()
171+
// No accent color or background theme set by default, so no preview swatches
172+
expect(accentPreview).toBeNull()
173+
expect(backgroundPreview).toBeNull()
173174
})
174175

175176
it('announces setting changes after the palette closes', async () => {

0 commit comments

Comments
 (0)