Skip to content

Instantly share code, notes, and snippets.

@TheSavior
Created Aug 22, 2016
Embed
What would you like to do?
Throw when chai.assert.equal is used
chai.assert.equal = function() {
throw new chai.AssertionError("Chai's assert.equal function does == instead of ===. Use assert.strictEqual instead");
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment