assert-throws (npm): An assertion method to check if a sync or async function throws and assert on error properties.
Keywords: assert-throws|assertion|throws|throw|error|try|catch