UNPKG

@eagleeye-solutions/integration-events-common

Version:
16 lines 663 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const src_1 = require("../../../src"); const fixtures_1 = require("../../fixtures"); describe('getServiceWalletCreateEventData', () => { it('extracts data from a SERVICE.WALLET.CREATE event', () => { // Arrange const event = src_1.EeAirOutboundEventSchema.parse(fixtures_1.sampleEvents.SERVICE_WALLET_CREATE); const expectedOutput = {}; // Act const output = (0, src_1.getServiceWalletCreateEventData)(event); // Assert expect(output).toEqual(expectedOutput); }); }); //# sourceMappingURL=service-wallet-create.spec.js.map