Skip to content

Commit 1569f3d

Browse files
committed
expose port generator in testcontainer's index.ts
1 parent 8440d61 commit 1569f3d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/testcontainers/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ export { CommitOptions, Content, ExecOptions, ExecResult, InspectResult } from "
2222
export { BoundPorts } from "./utils/bound-ports";
2323
export { LABEL_TESTCONTAINERS_SESSION_ID } from "./utils/labels";
2424
export { getContainerPort, hasHostBinding, PortWithBinding, PortWithOptionalBinding } from "./utils/port";
25+
export { PortGenerator, RandomUniquePortGenerator } from "./utils/port-generator";
2526
export { ImagePullPolicy, PullPolicy } from "./utils/pull-policy";
2627
export { HttpWaitStrategyOptions } from "./wait-strategies/http-wait-strategy";
2728
export { StartupCheckStrategy, StartupStatus } from "./wait-strategies/startup-check-strategy";

0 commit comments

Comments
 (0)