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(Test Starter Configs): Fix false-positive findings #409

Merged
merged 2 commits into from
Nov 15, 2024

Conversation

maxreichmann
Copy link
Member

@maxreichmann maxreichmann commented Nov 14, 2024

This fixes a false-positive finding of the property theme inside Configuration.beforeBootstrap.qunit.js. This resulted in undefined runtime errors.
theme should only be checked for Test Starter configs.

Changes:

  • Now, the file name is checked against a Regex and optional chaining was optimized to prevent these runtime errors further.

  • A sample Configuration.beforeBootstrap.qunit.js was added as a test artifact. As seen in the snapshots, there are no more findings for this file.

  • In the course of adding a Regex check for the file name, testsuite2.qunit.js was renamed to testsuite.special-case-quotes.qunit.js to be aligned with framework functionality.

@maxreichmann maxreichmann merged commit cf166f7 into main Nov 15, 2024
13 checks passed
@maxreichmann maxreichmann deleted the fix-test-starter-detection branch November 15, 2024 11:44
@openui5bot openui5bot mentioned this pull request Nov 15, 2024
maxreichmann added a commit that referenced this pull request Nov 15, 2024
@maxreichmann
Copy link
Member Author

cf166f7 was removed due to commit message violations and replaced with cf6907c.

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.

2 participants