diff options
author | Mike Greiling <mike@pixelcog.com> | 2018-03-12 17:51:01 -0500 |
---|---|---|
committer | Mike Greiling <mike@pixelcog.com> | 2018-03-12 17:51:01 -0500 |
commit | 9f9257fa5ab5fe1dafc4be4aa5bd9a5dbc9323cd (patch) | |
tree | 77c182d79c2d8c5f11cd8d41bc301be66781d941 | |
parent | d92baff68f8c14e81bc3b3351a2318cdd0135b84 (diff) | |
download | gitlab-ce-9f9257fa5ab5fe1dafc4be4aa5bd9a5dbc9323cd.tar.gz |
specify that webpack entry points are exempt from unit tests, not integration tests
-rw-r--r-- | doc/development/fe_guide/performance.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/development/fe_guide/performance.md b/doc/development/fe_guide/performance.md index 93b999568ad..5c3936fe1cc 100644 --- a/doc/development/fe_guide/performance.md +++ b/doc/development/fe_guide/performance.md @@ -87,10 +87,10 @@ In addition to these page-specific bundles, the code within `main.js` and - **Keep Entry Points Lite:** Page-specific javascript entry points should be as lite as possible. These - files are exempt from tests, and should be used primarily for instantiation - and dependency injection of classes and methods that live in modules outside - of the entry point script. Just import, read the DOM, instantiate, and - nothing else. + files are exempt from unit tests, and should be used primarily for + instantiation and dependency injection of classes and methods that live in + modules outside of the entry point script. Just import, read the DOM, + instantiate, and nothing else. - **Entry Points May Be Asynchronous:** _DO NOT ASSUME_ that the DOM has been fully loaded and available when an |