Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: move qunit config autostart out of require/define #134

Merged
merged 1 commit into from
Sep 14, 2024

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