jest-webpack-resolver
jest-webpack-resolver copied to clipboard
path resolver for jest through the webpack.config. Auto detect webpack's resolve properties like aliases, plugins and more
We need something like this in webpack 5 with module federation. Do you know of anything or would be willing to update it? Jest through webpack is a must for...
First of all, thanks for your package. It works like a charm. But I have a small issue... I have to set a path to my webpack config, or else...
I've got an example project here to provide some context. It provides one test that fails with the webpack resolver and succeeds when turning the resolver off. The repository can...
PHPStorm has a problem. PHPStorm provides an absolute path to the config file, which is not accepted by your module. Error: Cannot find module '/Users/.../projects/.../.../Users/.../projects/.../.../jest.config.json'
I think Promise support has been in there since webpack 2.0. Eg. ```js var path = require("path"); var directoryNamed = require("directory-named-webpack-plugin"); module.exports = Promise.resolve({ entry: "./main.js", output: { filename: "main.build.js"...
My package.json ` "jest": { "resolver": "jest-webpack-resolver", "transform": { "^.+\\.jsx?$": "babel-jest" } }` My test script is just `"test": "jest"` My error message comes from my webpack config and states:...
That might be a popular choice since `create-react-app` ejects to Jest config to `package.json`.