UNPKG

@ecobee/nodejs-gcloud-pubsub-module

Version:
22 lines (21 loc) 636 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.mockSubscriberOptions = exports.mockPublishOptions = exports.mockGoogleAuthOptions = void 0; const constants_1 = require("./constants"); exports.mockGoogleAuthOptions = { projectId: 'entitlement', }; exports.mockPublishOptions = { gaxOpts: { retry: { retryCodes: constants_1.PUB_SUB_DEFAULT_RETRY_CODES, backoffSettings: constants_1.PUB_SUB_DEFAULT_BACKOFF_SETTINGS, }, }, }; exports.mockSubscriberOptions = { flowControl: { maxMessages: 5, allowExcessMessages: false, }, };