diff options
| author | alexkuhn <alexkuhn@users.noreply.github.com> | 2017-10-31 13:00:55 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-31 13:00:55 +0100 |
| commit | fa9567063d208a02b4ad523f7759fd0f3791254b (patch) | |
| tree | e3b3f5f838409223f9b4df26849d2e7177218764 /doc/_extensions/autojsdoc/parser/parser.py | |
| parent | c19226581b16e71b299c7d6c6afd67d07076ac89 (diff) | |
[IMP] web: intercepts on add_mock_environment (#20582)
Generalization of the field 'intercepts' at the
level of the function addMockEnvironment in
/web/.../testutils.js.
Previously, only createAsyncView had support for
'intercepts'. By moving to addMockEnvironment,
we generalize it, so that even mock environment
others than views could intercept bubbling events.
This is desirable in order to test the app_switcher,
so that we can intercept bubbling events like
'hide_app_switcher' to web_client.
Since addMockEnvironment already makes use of some
special intercepts ('call_service', 'load_views', ...),
We must handle the remaining intercepts afterwards,
hence at the very end of the definition of addMockEnvironment
Diffstat (limited to 'doc/_extensions/autojsdoc/parser/parser.py')
0 files changed, 0 insertions, 0 deletions
