Fail an assertion, recording full details to the console and
raising an exception with a message in which details substitution values
have been masked.
The optional optDetails can be a string for backwards compatibility
with the nodejs assertion library.
The
assert.failmethod.Fail an assertion, recording full details to the console and raising an exception with a message in which
detailssubstitution values have been masked.The optional
optDetailscan be a string for backwards compatibility with the nodejs assertion library.