You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 5, 2022. It is now read-only.
/* preamble */
...
functioninternalAssertion(testName,checkpoint){if(arguments.length===0){return5/* number of internal assertions to add to the expected number of assertions */;}else{/* make assertions about the internal state based on testName and checkpoint */}}.../* usage */vartestName="Discovery";console.log(JSON.stringify({assertionCount: 3+(typeofinternalAssertion==="function" ? internalAssertion() : 0)}));
...
if(typeofinternalAssertion==="function"){internalAssertion(testName,"afterResourceFound");}/* usage */
... and document the possible values of testName and checkpoint.