assert.doesNotThrow(block[, error][, message])
Asserts that the function block does not throw an error. See assert.throws() for more details.
When assert.doesNotThrow() is called, it will immediately call the block function.
If an error is thrown and it is the same type as that specified by the error parameter, then an AssertionError is thrown. If the error is of a different type, or if the error parameter is undefined, the error is propagated back to the caller.
The following, for instance,