From 9953570dac00c2d1a9d90fc845aa8a39037729ca Mon Sep 17 00:00:00 2001 From: Jason Miller Date: Mon, 17 Apr 2017 13:37:06 -0400 Subject: fix failing test from before removal of case normalization --- test/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/index.js b/test/index.js index 61a3e67..3e0ef78 100644 --- a/test/index.js +++ b/test/index.js @@ -75,7 +75,7 @@ describe('mitt#', () => { expect(events).to.have.property('foo').that.is.empty; }); - it('should normalize case', () => { + it('should NOT normalize case', () => { let foo = () => {}; inst.on('FOO', foo); inst.on('Bar', foo); @@ -89,7 +89,7 @@ describe('mitt#', () => { expect(events).to.not.have.property('foo'); expect(events).to.have.property('Bar').that.is.empty; expect(events).to.not.have.property('bar'); - expect(events).to.have.property('baz:baT!').that.is.empty; + expect(events).to.have.property('baz:bat!').with.length(1); }); }); -- cgit v1.2.3