Reference / @getenginex/sdk/testing / MockSentFrame
MockSentFrame
Frame sent by the client to the mock, for asserts.
Properties
topic?
optionaltopic?:string
Frame topic, when there is one (there is none on 'ping').
type
type:
string
Frame type: 'subscribe', 'unsubscribe', 'ping' or 'snapshot_request'.