diff --git a/rules/S2699/javascript/rule.adoc b/rules/S2699/javascript/rule.adoc index 856cb0ca47e..d2092b8bab2 100644 --- a/rules/S2699/javascript/rule.adoc +++ b/rules/S2699/javascript/rule.adoc @@ -6,7 +6,11 @@ When the unit test is executed, the assertions are evaluated. If all the asserti Without assertions, a unit test doesn't actually verify anything, making it ineffective in catching potential bugs or regressions. It will always pass, regardless of the implementation of the unit. This can lead to a false sense of security, as you may believe that your code is working correctly when it might not be. -This rule raises an issue when the assertion library ``++chai++``,``++sinon++`` or ``++vitest++`` is imported but no assertion is used in a test. +This rule raises an issue when one of the following assertion libraries is imported but no assertion is used in a test: +- ``++chai++`` +- ``++sinon++`` +- ``++vitest++`` +- ``++supertest++`` [source,javascript,diff-id=1,diff-type=noncompliant] ----