Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/utils / __tests__ / fromAddressToString.test.ts
Size: Mime:
import 'jest'
import { fromAddressToString } from '../src'

describe('application/utils/fromAddressToString', () => {
  it('should export matching the snapshot', () => {
    const address = {
      firstName: 'John',
      lastName: 'Pancake',
      addressLine1: '3415 Dinner Ave',
      addressLine2: '10 front street',
      city: 'San Francisco',
      state: 'CA',
      country: 'USA',
      postalCode: '55555',
      telephone: '707-445-6600',
      email: 'xyz@abc.com',
    }
    expect(fromAddressToString(address)).toMatchSnapshot()
  })
})