Commit a0ed7172 authored by Marcia Ramos's avatar Marcia Ramos
Browse files

Merge branch 'winh-jest-webpack-docs' into 'master'

Clarify that Jest does not use Webpack (docs)

See merge request gitlab-org/gitlab-ce!30000
......@@ -28,6 +28,8 @@ we need to solve before being able to use Jest for all our needs.
- Jest runs in a Node.js environment, not in a browser. Support for running Jest tests in a browser [is planned](
- Because Jest runs in a Node.js environment, it uses [jsdom]( by default.
- Jest does not have access to Webpack loaders or aliases.
The aliases used by Jest are defined in its [own config](
- All calls to `setTimeout` and `setInterval` are mocked away. See also [Jest Timer Mocks](
- `rewire` is not required because Jest supports mocking modules. See also [Manual Mocks](
- The following will cause tests to fail in Jest:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment