1.1.1 • Published 5 years ago
@juddnw/pubsubmock v1.1.1
PubSubMock
Mock for @google-cloud/pubsub v1.
Environment Variable
PUBSUBMOCK_SUBSCRIPTION
, default toundefined
. When a message is published, it's queued if and only if it's topic matches this value.PUBSUBMOCK_TOPIC
, default toundefined
. When pull is called, it only returns messages matching this value.