Commit 5b5290f5 authored by Lin Jen-Shin's avatar Lin Jen-Shin

Merge branch 'winh-is-gitlab-ee-whole' into 'master'

Clarify that IS_GITLAB_EE works for the whole GitLab now (documentation)

See merge request gitlab-org/gitlab!17101
parents 0f712619 de213342
...@@ -19,7 +19,7 @@ CE specs should remain untouched as much as possible and extra specs ...@@ -19,7 +19,7 @@ CE specs should remain untouched as much as possible and extra specs
should be added for EE. Licensed features can be stubbed using the should be added for EE. Licensed features can be stubbed using the
spec helper `stub_licensed_features` in `EE::LicenseHelpers`. spec helper `stub_licensed_features` in `EE::LicenseHelpers`.
You can force Webpack to act as CE by either deleting the `ee/` directory or by You can force GitLab to act as CE by either deleting the `ee/` directory or by
setting the [`IS_GITLAB_EE` environment variable](https://gitlab.com/gitlab-org/gitlab/blob/master/config/helpers/is_ee_env.js) setting the [`IS_GITLAB_EE` environment variable](https://gitlab.com/gitlab-org/gitlab/blob/master/config/helpers/is_ee_env.js)
to something that evaluates as `false`. The same works for running tests to something that evaluates as `false`. The same works for running tests
(for example `IS_GITLAB_EE=0 yarn jest`). (for example `IS_GITLAB_EE=0 yarn jest`).
......
Markdown is supported
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