Unit tests #6

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants

nemtsov commented Mar 13, 2013

I'm using Stack in a small project; like its simplicity, and thought I'd contribute the tests.

This covers every feature of stack (every statement, branch and function, according to "istanbul" code coverage), and can also serve as an example for general usage as well as for the undocumented Stack.compose and Stack.mount.

gsf commented Mar 13, 2013

Great to see these. You might just use tap instead of tape since stack doesn't get used on the browser (AFAIK), but that's not a blocker. I haven't used compose or mount for anything, but good to know more about them as well.

nemtsov commented Mar 13, 2013

@gsf good point. I removed it.

nemtsov closed this Oct 8, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment