UNPKG

@financial-times/n-conversion-forms

Version:

Containing jsx components and styles for forms included on Accounts and Acquisition apps (next-signup, next-profile, next-retention, etc).

61 lines (46 loc) 1.58 kB
const helpers = require('.'); describe('helpers', () => { it('exports a "ncf-common-data" helper', () => { expect(helpers).toHaveProperty('ncf-common-data'); }); it('exports a "ncf-countries" helper', () => { expect(helpers).toHaveProperty('ncf-countries'); }); it('export billingCountries', () => { expect(helpers).toHaveProperty('billingCountries'); expect(helpers['billingCountries']).toHaveProperty('countries'); }); it('export cemeaV1ISO', () => { expect(helpers).toHaveProperty('cemeaV1ISO'); }); it('export cemeaV2ISO', () => { expect(helpers).toHaveProperty('cemeaV2ISO'); }); it('export apacISO', () => { expect(helpers).toHaveProperty('apacISO'); }); it('export identifyShippingZone', () => { expect(helpers).toHaveProperty('identifyShippingZone'); }); it('export countriesSupported', () => { expect(helpers).toHaveProperty('countriesSupported'); }); it('export countriesSupportedISO', () => { expect(helpers).toHaveProperty('countriesSupportedISO'); }); it('export supportedPostcodeValidators', () => { expect(helpers).toHaveProperty('supportedPostcodeValidators'); }); it('export allSupportedPostcodeExamples', () => { expect(helpers).toHaveProperty('allSupportedPostcodeExamples'); }); it('export getDurationFromISO8601Value', () => { expect(helpers).toHaveProperty('getDurationFromISO8601Value'); }); it('export is52WeeksOrLonger', () => { expect(helpers).toHaveProperty('is52WeeksOrLonger'); }); it('export is90DaysOrLonger', () => { expect(helpers).toHaveProperty('is90DaysOrLonger'); }); });