jest-webpack-alias icon indicating copy to clipboard operation
jest-webpack-alias copied to clipboard

Preprocessor for Jest that is able to resolve require() statements using webpack aliases

Results 8 jest-webpack-alias issues
Sort by recently updated
recently updated
newest added

Bumps [flat](https://github.com/hughsk/flat) to 5.0.2 and updates ancestor dependency [mocha](https://github.com/mochajs/mocha). These dependencies need to be updated together. Updates `flat` from 4.1.0 to 5.0.2 Commits e5ffd66 Release 5.0.2 fdb79d5 Update dependencies, refresh...

dependencies

Bumps [qs](https://github.com/ljharb/qs) from 6.5.2 to 6.5.3. Changelog Sourced from qs's changelog. 6.5.3 [Fix] parse: ignore __proto__ keys (#428) [Fix] utils.merge: avoid a crash with a null target and a truthy...

dependencies

Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@​ChALkeR). Fix boolean schemas with strictKeywords...

dependencies

Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...

dependencies

Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1. Changelog Sourced from y18n's changelog. Change Log All notable changes to this project will be documented in this file. See standard-version for commit guidelines....

dependencies

The alias config below works ok with `webpack` but `jest-webpack-alias` doesn't work properly. ``` resolve: { modules: [path.resolve(__dirname, '..'), 'node_modules'], alias: { '@app/core': '../apps/core', '@app/views': '../apps/components/views' } } ``` `jest-webpack-alias`...

When `webpack.config.js` [exports a `function`](https://webpack.js.org/configuration/configuration-types/#exporting-a-function-to-use-env), jest-webpack-alias throws the following error: ``` ● Test suite failed to run Missing setting "resolve.modules" (webpack v2) or "resolve.root" (webpack v1) in /Users/davidcalhoun/Sites/web/gn-web/webpack.config.js at Object.read...

If you have a path containing "node_modules" in resolve.root, dependencies should still get resolved rather than ignored.