summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/test.mousetrap.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/test.mousetrap.js b/tests/test.mousetrap.js
index 8a342c7..06bb145 100644
--- a/tests/test.mousetrap.js
+++ b/tests/test.mousetrap.js
@@ -124,8 +124,8 @@ describe('Mousetrap.bind', function() {
expect(spy.callCount).to.equal(1, 'callback should fire');
expect(spy.args[0][0]).to.be.an.instanceOf(Event, 'first argument should be Event');
- expect(spy.args[0][0].cancelBubble).to.be.true;
- expect(spy.args[0][0].defaultPrevented).to.be.true;
+ expect(spy.args[0][0].cancelBubble).to.be.True;
+ expect(spy.args[0][0].defaultPrevented).to.be.True;
// try without return false
spy = sinon.spy();
@@ -134,8 +134,8 @@ describe('Mousetrap.bind', function() {
expect(spy.callCount).to.equal(1, 'callback should fire');
expect(spy.args[0][0]).to.be.an.instanceOf(Event, 'first argument should be Event');
- expect(spy.args[0][0].cancelBubble).to.be.false;
- expect(spy.args[0][0].defaultPrevented).to.be.false;
+ expect(spy.args[0][0].cancelBubble).to.be.False;
+ expect(spy.args[0][0].defaultPrevented).to.be.False;
});
it('capslock key is ignored', function() {