diff options
| author | Jason Miller <[email protected]> | 2017-04-17 13:37:06 -0400 |
|---|---|---|
| committer | Jason Miller <[email protected]> | 2017-04-17 13:37:06 -0400 |
| commit | 9953570dac00c2d1a9d90fc845aa8a39037729ca (patch) | |
| tree | 39aec226148d948b7ad28463d84f01eec2023c95 /test | |
| parent | 325d81838ee908dc0165dc1658e94c2eb4aee98a (diff) | |
fix failing test from before removal of case normalization
Diffstat (limited to 'test')
| -rw-r--r-- | test/index.js | 4 |
1 files 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); }); }); |
