Skip to content

Commit 7fb4201

Browse files
[autofix.ci] apply automated fixes
1 parent 2072386 commit 7fb4201

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

test/nuxt/composables/use-command-palette-commands.spec.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -164,9 +164,7 @@ describe('useCommandPaletteCommands', () => {
164164
expect(flatCommands.value.find(command => command.id === 'settings')?.label).toBe('settings')
165165
expect(flatCommands.value.find(command => command.id === 'theme-system')?.active).toBe(true)
166166
expect(flatCommands.value.find(command => command.id === 'theme-dark')).toBeTruthy()
167-
expect(flatCommands.value.find(command => command.id === 'accent-colors')?.badge).toBe(
168-
'Sky',
169-
)
167+
expect(flatCommands.value.find(command => command.id === 'accent-colors')?.badge).toBe('Sky')
170168
expect(flatCommands.value.find(command => command.id === 'background-themes')?.badge).toBe(
171169
'Neutral',
172170
)
@@ -441,9 +439,7 @@ describe('useCommandPaletteCommands', () => {
441439
})
442440

443441
expect(groupedCommands.value.map(group => group.id)).toEqual(['settings'])
444-
expect(flatCommands.value.find(command => command.id === 'accent-color:sky')?.active).toBe(
445-
true,
446-
)
442+
expect(flatCommands.value.find(command => command.id === 'accent-color:sky')?.active).toBe(true)
447443
expect(flatCommands.value.find(command => command.id === 'accent-color:coral')).toBeTruthy()
448444

449445
wrapper.unmount()

0 commit comments

Comments
 (0)