The testing API is only avaiable when using the test runner.
Creates a test to be run. If the callback is async the test will be run concurrently.
Creates an isolated test to be run. An isolated test runs after all normal tests and are run one by one even if they are async.
Asserts that the actual value equals the expected value.
Asserts that the actual value does not equal the expected value.
Asserts that the actual value contains a sub value. For a string, a sub value is a substring.
Asserts that the anonymous function throws an exception. An optional substring can be provided to check against the exception message.