Use assert.rejects for standard promise rejection assertion
Use assert.rejects
for standard promise rejection assertion
As suggested by @viktomas https://gitlab.com/gitlab-org/gitter/webapp/merge_requests/1702#note_268452483
Made a PR to update the Node.js assert.rejects
docs to be more clear: https://github.com/nodejs/node/pull/31271
Edited by Eric Eastwood