Skip to content

Commit

Permalink
test: sort file snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed May 29, 2023
1 parent d927447 commit b3a9089
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/e2e/generate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('ipx provider', () => {
const ctx = useTestContext()
const outputDir = resolve(ctx.nuxt!.options.nitro.output?.dir || '', 'public/_ipx')
const files = await globby(outputDir)
expect(files.map(f => f.replace(outputDir, '/_ipx'))).toMatchInlineSnapshot(`
expect(files.sort().map(f => f.replace(outputDir, '/_ipx'))).toMatchInlineSnapshot(`
[
"/_ipx/_/images/nuxt.png",
"/_ipx/s_300x300/images/colors.jpg",
Expand Down

0 comments on commit b3a9089

Please sign in to comment.