jest-pnp-resolver
's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.Name | Version | Size | License | Type | Vulnerabilities |
---|
Jest-pnp-resolver is a package that offers a plug'n'play (pnp) resolver for Jest. Jest is a delightful JavaScript Testing Framework with a focus on simplicity. Plug'n'play is a paradigm for the automated configuration of system devices. In other words, jest-pnp-resolver is designed to help configure Jest in a way that is easy and streamlined, significantly simplifying the process of setting up Jest for your testing needs.
The Jest-pnp-resolver has an extremely straightforward setup process. After installing it using Yarn with the command yarn add -D jest-pnp-resolver
, you can use it in your Jest configuration file (jest.config.js) as per the following code:
module.exports = {
resolver: require.resolve(`jest-pnp-resolver`)
};
This code ensures that Jest-pnp-resolver is set as the default resolver for Jest in your project. Note that as of jest@^24.4.0
, you don't need to manually add this package anymore since the default resolver will already use PnP.
The official documentation for the jest-pnp-resolver can be found on its GitHub repository. The url for the repo is https://github.com/arcanis/jest-pnp-resolver.git. The readme file contains instructions on how to install and use the package in your project, as well as any additional information that is relevant to users. Remember to keep an eye on the repository for updates or changes to the package's functionality.