@shopify/jest-mock-router
Jest + Enzyme mocks for React Router 3.x.
Last updated 21 days ago by shopify-dep .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @shopify/jest-mock-router 
SYNC missed versions from official npm registry.

@shopify/jest-mock-router

Build Status License: MIT npm version

Jest + Enzyme mocks for React Router 3.x.

Installation

$ yarn add @shopify/jest-mock-router

Example Usage

Take a look at the test suite for examples on how to use enzyme's mock context.

API Reference

See the comments and TypeScript annotations in the code for details on the provided utilities.

Current Tags

  • 1.0.22                                ...           latest (21 days ago)

17 Versions

  • 1.0.22                                ...           21 days ago
  • 1.0.21                                ...           a month ago
  • 1.0.20                                ...           3 months ago
  • 1.0.19                                ...           3 months ago
  • 1.0.18                                ...           8 months ago
  • 1.0.17                                ...           8 months ago
  • 1.0.16                                ...           8 months ago
  • 1.0.15                                ...           10 months ago
  • 1.0.14                                ...           a year ago
  • 1.0.12                                ...           a year ago
  • 1.0.11                                ...           a year ago
  • 1.0.10                                ...           a year ago
  • 1.0.9                                ...           2 years ago
  • 1.0.8                                ...           2 years ago
  • 1.0.7                                ...           2 years ago
  • 1.0.6                                ...           2 years ago
  • 1.0.1                                ...           2 years ago
Downloads
Today 0
This Week 17
This Month 17
Last Day 0
Last Week 0
Last Month 45
Dependencies (1)
Dev Dependencies (4)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |