FakeMessageInput

Unpublished development API. This package is under development and is not available as a published release.

A message to place in a fake snapshot. The id defaults to a generated one and the delivery to a complete, successful static delivery.

import type { FakeMessageInput } from '@threadplane/core/testing';

Declaration

export type FakeMessageInput = Omit<Message, 'id' | 'delivery'> & {
    readonly id?: string;
    readonly delivery?: MessageDelivery;
};