Skip to content

Commit 72641c1

Browse files
committed
imported values sorted by name
1 parent 8cb26a3 commit 72641c1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/generate-unit-test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ function prepareImports(imports: ParsedImport[], quoteSymbol: string): ParsedImp
106106

107107
if (target.path === value.path) {
108108
value.names = uniq(value.names.concat(target.names));
109+
value.names.sort();
109110
imports.splice(i, 1);
110111
}
111112
}

0 commit comments

Comments
 (0)