NoThrows

NoThrows

NoThrows A test that verifies a function does not throw any error. Inherits from ThrowsBase.

Constructor

new NoThrows(testName, fnnullable, thisArgopt)

Description:
  • Tests that a function does NOT throw.
Source:
Parameters:
Name Type Attributes Description
testName string Name of the test.
fn function <nullable>
The function to test.
thisArg any <optional>
Optional `this` context.

Classes

NoThrows