@jterrazz/test 3.4.0 → 3.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -79,7 +79,8 @@ declare class Orchestrator {
79
79
  constructor(options: OrchestratorOptions);
80
80
  /**
81
81
  * Start declared services via testcontainers (integration mode).
82
- * Reads image/env config from docker-compose.test.yaml if a service has compose: "name".
82
+ * Phase 1: start all containers in parallel (the slow part).
83
+ * Phase 2: wire connections, healthcheck, and init sequentially (fast).
83
84
  */
84
85
  start(): Promise<void>;
85
86
  /**
@@ -250,6 +251,7 @@ declare class PostgresHandle implements DatabasePort, ServiceHandle {
250
251
  readonly environment: Record<string, string>;
251
252
  connectionString: string;
252
253
  started: boolean;
254
+ private client;
253
255
  constructor(options?: PostgresOptions);
254
256
  buildConnectionString(host: string, port: number): string;
255
257
  createDatabaseAdapter(): DatabasePort;
package/dist/index.d.ts CHANGED
@@ -79,7 +79,8 @@ declare class Orchestrator {
79
79
  constructor(options: OrchestratorOptions);
80
80
  /**
81
81
  * Start declared services via testcontainers (integration mode).
82
- * Reads image/env config from docker-compose.test.yaml if a service has compose: "name".
82
+ * Phase 1: start all containers in parallel (the slow part).
83
+ * Phase 2: wire connections, healthcheck, and init sequentially (fast).
83
84
  */
84
85
  start(): Promise<void>;
85
86
  /**
@@ -250,6 +251,7 @@ declare class PostgresHandle implements DatabasePort, ServiceHandle {
250
251
  readonly environment: Record<string, string>;
251
252
  connectionString: string;
252
253
  started: boolean;
254
+ private client;
253
255
  constructor(options?: PostgresOptions);
254
256
  buildConnectionString(host: string, port: number): string;
255
257
  createDatabaseAdapter(): DatabasePort;