Skip to content

v20250508.150034

@basti-snyk basti-snyk tagged this 08 May 13:00
* feat: Add tests and fix for code_html feature flags

- Added unit tests for the updateFeatureFlags method in code_html.go to cover scenarios with VS Code and non-VS Code integrations, and when the feature flag is enabled or disabled.
- Fixed a bug in updateFeatureFlags where the global codeRenderer's inlineIgnoresEnabled field was being updated instead of the instance's field.

* fix: Correct Test_Code_Html_InlineIgnores_Enabled

Set IntegrationName to VS_CODE in Test_Code_Html_InlineIgnores_Enabled
to ensure the inlineIgnoresEnabled flag is set correctly based on the
recent logic changes in updateFeatureFlags.
Assets 2
Loading