diff --git a/packages/rules-unit-testing/src/util.ts b/packages/rules-unit-testing/src/util.ts index e6f7cc87b9c..9ec9d129b4d 100644 --- a/packages/rules-unit-testing/src/util.ts +++ b/packages/rules-unit-testing/src/util.ts @@ -162,7 +162,7 @@ export function assertFails(pr: Promise): Promise { } /** - * Assert the promise to be rejected with a "permission denied" error. + * Assert the promise to be successful. * * This is a no-op function returning the passed promise as-is, but can be used for documentational * purposes in test code to emphasize that a certain request should succeed (e.g. allowed by rules).