Skip to content

JobRunStoreContractCase — @gj-kit/nest-operations-jobs

A public interface from @gj-kit/nest-operations-jobs/testing. The signature below is taken directly from the 0.1.1 release declaration.

import { JobRunStoreContractCase } from '@gj-kit/nest-operations-jobs/testing';
interface JobRunStoreContractCase {
/** e.g. `'S1: a second claim on the same overlap key returns null'`. */
readonly name: string;
readonly obligation: JobRunStoreObligation;
/** Throws with a message naming the violated obligation. */
readonly run: (store: JobRunStore) => Promise<void>;
}

This declaration is the source of truth for parameters, optionality, generics, return values, and public union/type contracts. Check the package golden path and this subpath’s import conditions for required environment, permission, and error boundaries before calling it.

  • Package: @gj-kit/nest-operations-jobs
  • Version: 0.1.1
  • Public entry: ./testing
  • Source: GitHub