We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 325d818 commit 9953570Copy full SHA for 9953570
test/index.js
@@ -75,7 +75,7 @@ describe('mitt#', () => {
75
expect(events).to.have.property('foo').that.is.empty;
76
});
77
78
- it('should normalize case', () => {
+ it('should NOT normalize case', () => {
79
let foo = () => {};
80
inst.on('FOO', foo);
81
inst.on('Bar', foo);
@@ -89,7 +89,7 @@ describe('mitt#', () => {
89
expect(events).to.not.have.property('foo');
90
expect(events).to.have.property('Bar').that.is.empty;
91
expect(events).to.not.have.property('bar');
92
- expect(events).to.have.property('baz:baT!').that.is.empty;
+ expect(events).to.have.property('baz:bat!').with.length(1);
93
94
95
0 commit comments