3 ms·
Explained later down in the post: > assertTrue also accepts a second argument, which is the custom error message to show if the first argument is not truthy. T
by js2 5y ago
Explained later down in the post:
> assertTrue also accepts a second argument, which is the custom error message to show if the first argument is not truthy. This call signature allows the mistake to be made and the test to pass and therefore possibly fail silently.