Skip to content

Commit 9953570

Browse files
committed
fix failing test from before removal of case normalization
1 parent 325d818 commit 9953570

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/index.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ describe('mitt#', () => {
7575
expect(events).to.have.property('foo').that.is.empty;
7676
});
7777

78-
it('should normalize case', () => {
78+
it('should NOT normalize case', () => {
7979
let foo = () => {};
8080
inst.on('FOO', foo);
8181
inst.on('Bar', foo);
@@ -89,7 +89,7 @@ describe('mitt#', () => {
8989
expect(events).to.not.have.property('foo');
9090
expect(events).to.have.property('Bar').that.is.empty;
9191
expect(events).to.not.have.property('bar');
92-
expect(events).to.have.property('baz:baT!').that.is.empty;
92+
expect(events).to.have.property('baz:bat!').with.length(1);
9393
});
9494
});
9595

0 commit comments

Comments
 (0)