Skip to content

Conversation

petermuessig
Copy link
Member

In case of using QUnit.config.autostart to configure the globally available QUnit, it must be moved out from the sap.ui.require or sap.ui.define block so that it is applied synchronously when loading the module.

If QUnit is required locally, then QUnit.config.autostart will not be moved.

The move can also be supressed by using the configuration option noWrapQUnitConfigAutostart.

In case of using QUnit.config.autostart to configure the globally
available QUnit, it must be moved out from the sap.ui.require or
sap.ui.define block so that it is applied synchronously when loading
the module.

If QUnit is required locally, then QUnit.config.autostart will not
be moved.

The move can also be supressed by using the configuration option
noWrapQUnitConfigAutostart.
@petermuessig petermuessig merged commit 9643cd0 into main Sep 14, 2024
6 checks passed
@petermuessig petermuessig deleted the fixQUnitConfigAutostart branch September 14, 2024 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant