Skip to content

Commit f433e84

Browse files
[autofix.ci] apply automated fixes
1 parent ecf5374 commit f433e84

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

test/nuxt/composables/use-compare-replacements.spec.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,8 @@ describe('useCompareReplacements', () => {
234234

235235
vi.stubGlobal('$fetch', fetchMock)
236236

237-
const { noDepSuggestions, infoSuggestions, replacements } = await useCompareReplacementsInComponent(['some-package'])
237+
const { noDepSuggestions, infoSuggestions, replacements } =
238+
await useCompareReplacementsInComponent(['some-package'])
238239

239240
await vi.waitFor(() => {
240241
expect(fetchMock).toHaveBeenCalledTimes(1)
@@ -254,10 +255,10 @@ describe('useCompareReplacements', () => {
254255
.fn()
255256
.mockRejectedValueOnce(new Error('Temporary network error'))
256257
.mockResolvedValueOnce({
257-
"id": "snippet::is-even",
258-
"type": "simple",
259-
"description": "You can use the modulo operator to check if a number is even.",
260-
"example": "(n % 2) === 0",
258+
id: 'snippet::is-even',
259+
type: 'simple',
260+
description: 'You can use the modulo operator to check if a number is even.',
261+
example: '(n % 2) === 0',
261262
} satisfies SimpleModuleReplacement)
262263

263264
vi.stubGlobal('$fetch', fetchMock)

0 commit comments

Comments
 (0)