Skip to content
Myr

apply prettier formatting to all files

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Jason Miller · committed by Jason Miller · parent 3f81679 · Browse files · 2 files+16 added−20 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+16 added−20 removed

  • tests:+4 added−12 removed
  • other:+12 added−8 removed

2 files+16 added−20 removed

modified:src/index.ts+12 added-8 removed
modified:test/index_test.ts+4 added-12 removed
42 unmodified lines
43 });4445 describe('properties', () => {46 it('should expose the event handler map', () => {47 expect(inst)48 .to.have.property('all')49 .that.is.a('map');47 expect(inst).to.have.property('all').that.is.a('map');48 });49 });5051 describe('on()', () => {52 it('should be a function', () => {55 expect(inst)56 .to.have.property('on')57 .that.is.a('function');53 expect(inst).to.have.property('on').that.is.a('function');54 });5556 it('should register handler for new type', () => {57 const foo = () => {};
48 unmodified lines
106 });107108 describe('off()', () => {109 it('should be a function', () => {114 expect(inst)115 .to.have.property('off')116 .that.is.a('function');110 expect(inst).to.have.property('off').that.is.a('function');111 });112113 it('should remove handler for type', () => {114 const foo = () => {};
43 unmodified lines
158 });159160 describe('emit()', () => {161 it('should be a function', () => {168 expect(inst)169 .to.have.property('emit')170 .that.is.a('function');162 expect(inst).to.have.property('emit').that.is.a('function');163 });164165 it('should invoke handler for type', () => {166 const event = { a: 'b' };
38 unmodified lines