8000 test: sort file list before snapshot · unjs/mkdist@152817d · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 152817d

Browse files
committed
test: sort file list before snapshot
1 parent 394e0c7 commit 152817d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/index.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -495,7 +495,7 @@ describe("mkdist", () => {
495495
},
496496
});
497497
const files = errors.map((e) => relative(rootDir, e.filename));
498-
expect(files).toMatchInlineSnapshot(`
498+
expect(files.sort()).toMatchInlineSnapshot(`
499499
[
500500
"dist/components/index.d.ts",
501501
"dist/components/tsx.d.ts",

0 commit comments

Comments
 (0)
0