Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
Ok, thanks, fixed. I was aware of the diffeence between one assertion and the other, I didn't know how you could write a wrong solution.
Example of wrong solution:
The error exist in TypeScript test.
assert.equal
usenon-strict equality (==)
andassert.equal(3, '3')
does not throw error.assert.strictEqual
usestrict equality (===)
andassert.strictEqual(3, '3')
throw error.Current test:
My porposal:
Doc assert.equal:
https://www.chaijs.com/api/assert/#method_equal
Doc assert.strictEqual
https://www.chaijs.com/api/assert/#method_strictequal
Do you mind explaining why is that an issue? It seems to work fine.
In TypeScript tests use assert.strictEqual insted assert.equal