Open theRemix opened 7 years ago
fixed
refactor the specs (it()
blocks)
so that each of your test cases are separate and in isolation.
if one thing breaks, it should be easy to identify which case is failing the tests.
there are too many unrelated expects in on it() spec
add more cases for when list is empty, add 1, add 1 and remove 1, add 2, add 2 then remove 1, add 1 then check() it, etc.