-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Specs for MicroEvent #15
Conversation
I don't like all those occurrences of expect(event_funcs.foo.calls.length).toEqual(1); but right now I don't know an easy way to solve this, so I'll postpone working on this for now.
Moving spyOn()-calls to beforeEach() to get specs with less noise
the MicroEvent is actually an external library from https://github.com/jeromeetienne/microevent.js. I just saw now that the lib file is missing an origin. I do not think that we should have tests for that library. Though I am pretty sure that the owner of the original library will be more than happy about a pull request from you. |
Noooooooooooooooooooooooooooooooooooooooooo! :S |
I am really sorry about this. The file was added in a hurry because we needed some sort of event dispatcher and at the time it seemed logical for everyone to find external libraries in lib/ |
Well, let's see if it gets accepted by the original author. |
Spec'ed MicroEvent.
Mixin specs will come in another pull request in the next days.
Huh, why the heck are there those merge-commits appearing in this pull request?