1.0.2 • Published 4 years ago
@financial-times/jest-browser-resolver v1.0.2
@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
install the package
$ npm i -D @financial-times/jest-browser-resolveradd
jest-browser-resolveras 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", }