Skip to content

Commit b3a9089

Browse files
committed
test: sort file snapshot
1 parent d927447 commit b3a9089

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/e2e/generate.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ describe('ipx provider', () => {
2424
const ctx = useTestContext()
2525
const outputDir = resolve(ctx.nuxt!.options.nitro.output?.dir || '', 'public/_ipx')
2626
const files = await globby(outputDir)
27-
expect(files.map(f => f.replace(outputDir, '/_ipx'))).toMatchInlineSnapshot(`
27+
expect(files.sort().map(f => f.replace(outputDir, '/_ipx'))).toMatchInlineSnapshot(`
2828
[
2929
"/_ipx/_/images/nuxt.png",
3030
"/_ipx/s_300x300/images/colors.jpg",

0 commit comments

Comments
 (0)