Bug Fixes for S2699

Must-share information (formatted with Markdown):

  • which versions are you using (SonarQube, Scanner, Plugin, and any relevant extension) 9.9 LTS
  • how is SonarQube deployed: zip, Docker, Helm azure
  • what are you trying to achieve - trying to identify a bug fix to a release
  • what have you tried so far to achieve this > searched the release notes for 10.2

Hi - which sonarQube contains this bug fix ? Improve S2699 (assertions-in-tests): Support Sinon.JS assertion statements · Issue #3265 · SonarSource/SonarJS · GitHub

The next version of SonarQube, v10.3 (unreleased)

Hi,

We’ve put v10.3 on a test server having copied over the production database for the users and projects.

The master branch for the project will still be showing this error from the scan when it was done on on the productions server I guess ? As in the error will still be showing on the Overall Code tab but the New Code tab ( compared to master ) is showing zeroes for all the measures post scan against 10.3. Should we be scanning against master to confirm the fix is working for us ?

Yes, that’s right.