Skip to content

notificationStoreContractCases — @gj-kit/nest-notifications

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

import { notificationStoreContractCases } from '@gj-kit/nest-notifications/testing';
/**
* The executable form of the R1-R13, D1-D9, I1-I3 and L1-L4 obligations.
*
* Each case receives a **fresh** suite from the factory. Cases that probe
* concurrency issue `concurrency` simultaneous calls, so a host must point the
* suite at a connection pool of at least two: a single-connection client
* serialises the burst and hides a non-atomic claim.
*/
declare function notificationStoreContractCases(options?: NotificationStoreContractOptions): readonly StoreContractCase[];

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-notifications
  • Version: 0.1.1
  • Public entry: ./testing
  • Source: GitHub