Commit 9f9257fa authored by Mike Greiling's avatar Mike Greiling

specify that webpack entry points are exempt from unit tests, not integration tests

parent d92baff6
...@@ -87,10 +87,10 @@ In addition to these page-specific bundles, the code within `main.js` and ...@@ -87,10 +87,10 @@ In addition to these page-specific bundles, the code within `main.js` and
- **Keep Entry Points Lite:** - **Keep Entry Points Lite:**
Page-specific javascript entry points should be as lite as possible. These Page-specific javascript entry points should be as lite as possible. These
files are exempt from tests, and should be used primarily for instantiation files are exempt from unit tests, and should be used primarily for
and dependency injection of classes and methods that live in modules outside instantiation and dependency injection of classes and methods that live in
of the entry point script. Just import, read the DOM, instantiate, and modules outside of the entry point script. Just import, read the DOM,
nothing else. instantiate, and nothing else.
- **Entry Points May Be Asynchronous:** - **Entry Points May Be Asynchronous:**
_DO NOT ASSUME_ that the DOM has been fully loaded and available when an _DO NOT ASSUME_ that the DOM has been fully loaded and available when an
......
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