1.0.2 • Published 3 years ago

@financial-times/jest-browser-resolver v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@financial-times/jest-browser-resolver

This package is for jest to resolve using the package.json "browser" field first and falling back to the default behaviour of Jest.

Usage

  1. install the package

    $ npm i -D @financial-times/jest-browser-resolver
  2. add jest-browser-resolver as the resolver of jest.

    If configuring Jest via your package.json, please add them as follows:

    {
      ...
      "jest": {
        ...
        "resolver": "@financial-times/jest-browser-resolver"
      }
    }

    If configuring Jest via a jest.config.js file:

    {
      ...
      "resolver": "@financial-times/jest-browser-resolver",
    }
1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago