Skip to content

passthroughPresenter — @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 { passthroughPresenter } from '@gj-kit/nest-notifications/testing';
/** 테스트 전용 presenter — 라이브러리가 카피를 배포하지 않는다는 규칙의 예외가 아니다. */
/**
* Batch-unaware presenter for tests only: it passes the seed command's content
* through unchanged, which is wrong copy for any merged batch. Production hosts
* write their own — that is why the library ships no default (design 0.2-2).
*/
declare function passthroughPresenter(): NotificationPresenter;

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