Issue Task Closed

#96396Prepare ImmediateActionElementTest for ES6 modules

Benjamin Franzke 12/20/21, 12:55 updated 10/04/22, 08:37

Description

In ES6 mode Viewport.Topbar and ModuleMenu.App properties
cannot be overwritten (in order to be substituted with a call spy),
as they reference other JavaScript modules.
The properties of ES6 models are readonly (“frozen”) and can
therefore not be overwritten in a test setup.

Therefore the test should adapted to overwrite the references
in Viewport and ModuleMenu instead.

Reviews 1