UNPKG

@rebilly/framepay-react

Version:

A React wrapper for Rebilly's FramePay offering out-of-the-box support for Redux and other common React features

21 lines (18 loc) 561 B
import * as lib from './index'; const exportKeys: ReadonlyArray<string> = [ 'SUPPORTED_CARD_BRANDS', 'FramePayProvider', 'withFramePay', 'withFramePayApplePayComponent', 'withFramePaySamsungPayComponent', 'withFramePayCardComponent', 'withFramePayBankComponent', 'withFramePayGooglePayComponent', 'withFramePayIBANComponent', 'withFramePayPaypalComponent', ].sort(); describe('lib/index', () => { it('Library exports list correctly', () => { expect(Object.keys(lib).sort()).toEqual(exportKeys); }); });