SVG for IE8
Programmer is expected instead to add a helpful message, duplicating the expressions as in expect(2 + 2).toEqual(4, ’2 + 2 === 4′); To me this breaks do not repeat yourself principle really badly.
For now, I am using my own lazy assertions https://github.com/bahmutov/lazy-ass + helper BDD wrapper https://github.com/bahmutov/lazy-ass-helpful so that when I write
I will get the following
module addition test adds numbers failed
condition [add(2, 2) === 5]
Gleb Bahmutov says:
Wolfram Kriesing says: