diff --git a/test/integration/genesis.ts b/test/integration/genesis.ts index 191101e..4775048 100644 --- a/test/integration/genesis.ts +++ b/test/integration/genesis.ts @@ -64,6 +64,9 @@ export interface GenesisOptions { */ toolsSource: string; catalogSource: string; + /** Where the shared library is built from — published before the base resolves it (ADR 0076). */ + sdkSource: string; + sdkRef?: string; /** What of the catalogue to build. A branch under test is the usual reason this is not main. */ catalogRef?: string; log?: (m: string) => void; @@ -148,6 +151,8 @@ export async function genesis(o: GenesisOptions): Promise { `--tools-source ${o.toolsSource}`, `--catalog-source ${o.catalogSource}`, `--catalog-ref ${o.catalogRef ?? "main"}`, + `--sdk-source ${o.sdkSource}`, + `--sdk-ref ${o.sdkRef ?? "main"}`, // The choices, answered the unattended way. Both have one option today, so these are // redundant on purpose: the day a second filter exists, this bed keeps working instead of // refusing, and choosing becomes a thing it visibly does. diff --git a/test/integration/one-node-mesh.test.ts b/test/integration/one-node-mesh.test.ts index c19beb0..07d962c 100644 --- a/test/integration/one-node-mesh.test.ts +++ b/test/integration/one-node-mesh.test.ts @@ -470,6 +470,8 @@ before(async () => { toolsSource: forgeUrl(BASE.repo), catalogSource: forgeUrl(MODULE.repo), catalogRef: refFor(MODULE.repo), + sdkSource: forgeUrl("mesh-sdk"), + sdkRef: refFor("mesh-sdk"), log: (m) => console.log(m), }); } catch (err) {