Skip to content

Commit 4f7e73a

Browse files
committed
feat: files.ts export utility functions for testing purposes
1 parent 00fb538 commit 4f7e73a

File tree

1 file changed

+6
-0
lines changed
  • packages/openapi-ts/src/generate

1 file changed

+6
-0
lines changed

packages/openapi-ts/src/generate/files.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,3 +473,9 @@ const splitNameAndExtension = (fileName: string) => {
473473
);
474474
return { extension, name };
475475
};
476+
477+
export const _test = {
478+
ensureUniqueIdentifier,
479+
parseRefPath,
480+
splitNameAndExtension,
481+
};

0 commit comments

Comments
 (0)