Skip to content

Commit

Permalink
Added sorting in test to make it stable with the next typescript version
Browse files Browse the repository at this point in the history
  • Loading branch information
timocov committed Oct 16, 2023
1 parent fc6b627 commit c0146c4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions tests/e2e/test-cases/inline-from-deps-transitive/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ const config: TestCaseConfig = {
libraries: {
inlinedLibraries: ['fake-package', 'fake-fs'],
},
output: {
sortNodes: true,
}
};

export = config;
8 changes: 4 additions & 4 deletions tests/e2e/test-cases/inline-from-deps-transitive/output.d.ts
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
import { Path } from 'fake-path';
import { InterfaceFromTypesPackage } from 'fake-types-lib';

export interface File {
path: Path;
}
export interface Interface {
}
export type Type = number | string;
export interface InterfaceWithFields {
field: Type;
field2: Interface;
field3: InterfaceFromTypesPackage;
}
export interface File {
path: Path;
}
export type Type = number | string;

export {};

0 comments on commit c0146c4

Please sign in to comment.