@shopify/address-mocks
Address mocks for `@shopify/address`
Last updated 12 days ago by shopify-dep .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @shopify/address-mocks 
SYNC missed versions from official npm registry.

@shopify/address-mocks

Build Status License: MIT npm version npm bundle size (minified + gzip)

Address mocks for @shopify/address.

Installation

$ yarn add @shopify/address-mocks

Testing

If your component uses the @shopify/address package and you want to mock API calls, you can use the following:

import {fetch} from '@shopify/jest-dom-mocks';
import {mockCountryRequests} from '@shopify/address-mocks';

beforeEach(mockCountryRequests);
afterEach(fetch.restore);

Note: Only FR / JA and EN are mocked.

Current Tags

  • 1.3.5                                ...           latest (12 days ago)

51 Versions

  • 1.3.5                                ...           12 days ago
  • 1.3.4                                ...           2 months ago
  • 1.3.3                                ...           2 months ago
  • 1.3.2                                ...           3 months ago
  • 1.3.1                                ...           4 months ago
  • 1.3.0                                ...           4 months ago
  • 1.3.0-expand-locale-support-for-shopify-address.1                                ...           4 months ago
  • 1.2.35                                ...           5 months ago
  • 1.2.34                                ...           6 months ago
  • 1.2.33                                ...           7 months ago
  • 1.2.32                                ...           8 months ago
  • 1.2.31                                ...           8 months ago
  • 1.2.30                                ...           8 months ago
  • 1.2.29                                ...           9 months ago
  • 1.2.28                                ...           9 months ago
  • 1.2.27                                ...           9 months ago
  • 1.2.26                                ...           9 months ago
  • 1.2.25                                ...           9 months ago
  • 1.2.24                                ...           10 months ago
  • 1.2.23                                ...           10 months ago
  • 1.2.22                                ...           10 months ago
  • 1.2.21                                ...           10 months ago
  • 1.2.20                                ...           10 months ago
  • 1.2.19                                ...           10 months ago
  • 1.2.18                                ...           a year ago
  • 1.2.17                                ...           a year ago
  • 1.2.16                                ...           a year ago
  • 1.2.15                                ...           a year ago
  • 1.2.14                                ...           a year ago
  • 1.2.13                                ...           a year ago
  • 1.2.12                                ...           a year ago
  • 1.2.11                                ...           a year ago
  • 1.2.10                                ...           a year ago
  • 1.2.9                                ...           a year ago
  • 1.2.8                                ...           a year ago
  • 1.2.7                                ...           a year ago
  • 1.2.6                                ...           a year ago
  • 1.2.5                                ...           a year ago
  • 1.2.4                                ...           a year ago
  • 1.2.3                                ...           a year ago
  • 1.2.2                                ...           a year ago
  • 1.2.1                                ...           a year ago
  • 1.2.0                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
  • 1.0.6                                ...           2 years ago
  • 1.0.5                                ...           2 years ago
  • 1.0.4                                ...           2 years ago
  • 1.0.2                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
  • 1.0.0                                ...           2 years ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 15
Last Month 16
Dependencies (3)
Dev Dependencies (1)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |