@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/README.md +245 -73
- package/dist/index.cjs +207 -4394
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -1
- package/dist/index.d.ts +3 -1
- package/dist/index.js +62 -4271
- package/dist/index.js.map +1 -1
- package/package.json +12 -8
- package/dist/assets/cpufeatures-B-FC6C9Z.node +0 -0
- package/dist/assets/sshcrypto-D82met6T.node +0 -0
- package/dist/build.cjs +0 -122200
- package/dist/build.cjs.map +0 -1
- package/dist/build.js +0 -122193
- package/dist/build.js.map +0 -1
- package/dist/chunk.cjs +0 -64
- package/dist/chunk.js +0 -37
- package/dist/dist.cjs +0 -6587
- package/dist/dist.cjs.map +0 -1
- package/dist/dist.js +0 -6582
- package/dist/dist.js.map +0 -1
- package/dist/dist2.cjs +0 -20838
- package/dist/dist2.cjs.map +0 -1
- package/dist/dist2.js +0 -20834
- package/dist/dist2.js.map +0 -1
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
|
-
*
|
|
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
|
-
*
|
|
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;
|