Functions
runArtifactStoreConformance
Function: runArtifactStoreConformance()
runArtifactStoreConformance(
harness):Promise<ArtifactStoreReport>
Defined in: src/artifacts/conformance/run.ts:197
Run the whole battery against one store and report.
Parameters
harness
Returns
Promise<ArtifactStoreReport>
Example
Claiming the port for a store of your own
const report = await runArtifactStoreConformance({
name: 'ourOwnArtifacts',
createStore: () => ourOwnArtifacts({ bucket }),
disposeStore: (store) => store.close(),
});
if (!report.ok) throw new Error(formatArtifactStoreReport(report));