-
Notifications
You must be signed in to change notification settings - Fork 50
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
Refactor Tests #46
Refactor Tests #46
Conversation
@jmeas I'm so sorry |
Ha 👍 this is awesome. Thanks for doing this @thejameskyle :) Reviewing now |
it('should not log a console warning when firing a request on an object without a handler', function() { | ||
this.Requests.request(this.eventName); | ||
expect(this.consoleStub).to.not.have.been.called; | ||
}); | ||
}); | ||
}); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is beautiful 😢
👏 this is amazing @thejameskyle. Thanks again for doing this. I only had a few comments, then it's ready for merge I think. |
@jmeas I'll let you respond to my comments and I'll fix them all at once. |
I have no other comments, so feel free to update whenever you've got some time :) |
@jmeas Okay, updated |
Manually merged |
I started on some stuff and kinda went crazy.. I'll try my best to detail everything I did.
Changes:
spec/radio.js
tests intospec/channel.js
(ref: Merge spec/radio.js into spec/channel.js #45)_.clone(Object)
instead of_.extend({}, Object)
The DEBUG mode tests were all different, so I flattened the
describe
/beforeEach
blocks into justit
blocks so it would read easierYou might just want to open the files side by side and go through them that way. The diff is gonna suck to go through