Skip to content

Commit d3336a9

Browse files
authored
Update the assertSucceed reference doc to the public doc (#6366)
1 parent b60cf76 commit d3336a9

File tree

1 file changed

+1
-1
lines changed
  • packages/rules-unit-testing/src

1 file changed

+1
-1
lines changed

packages/rules-unit-testing/src/util.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ export function assertFails(pr: Promise<any>): Promise<any> {
162162
}
163163

164164
/**
165-
* Assert the promise to be rejected with a "permission denied" error.
165+
* Assert the promise to be successful.
166166
*
167167
* This is a no-op function returning the passed promise as-is, but can be used for documentational
168168
* purposes in test code to emphasize that a certain request should succeed (e.g. allowed by rules).

0 commit comments

Comments
 (0)