Closed popomore closed 8 years ago
ea6792e Just for reference problem when $flags
has two functions and more
Please add your unit test case(s). Anyway, I think that "plugin" interface (like Chai's) is a better approach for the problem your are trying to solve.
39
Keep the assertion chain when flag is function, and we can customize the flags such as
to.be.called.with('a')
andnever.to.be.called()
.