expectCount
Returns a new Assertion for the current value of a named counter.
expectCount(name: string): Assertion<unknown>
Parameters
- name — The name of the counter
Return value
A new instance of Assertion
Related
- class TestCaseA class that represents a single test case, part of a TestScope.
- count(name, inc?)Increment a named counter.
- getCount(name)Returns the current value of a named counter.