Skip to content

Commit 09132a0

Browse files
ci: apply automated fixes
1 parent f62bdf9 commit 09132a0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/event-bus-client/tests/index.test.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ describe('EventClient', () => {
5454
const targetEmitSpy = vi.spyOn(target, 'dispatchEvent')
5555
const targetListenSpy = vi.spyOn(target, 'addEventListener')
5656
const targetRemoveSpy = vi.spyOn(target, 'removeEventListener')
57-
const cleanup = client.on('test:event', () => { })
57+
const cleanup = client.on('test:event', () => {})
5858
cleanup()
5959
client.emit('test:event', { foo: 'bar' })
6060
expect(targetEmitSpy).toHaveBeenCalledWith(expect.any(Event))
@@ -78,7 +78,7 @@ describe('EventClient', () => {
7878
const targetEmitSpy = vi.spyOn(target, 'dispatchEvent')
7979
const targetListenSpy = vi.spyOn(target, 'addEventListener')
8080
const targetRemoveSpy = vi.spyOn(target, 'removeEventListener')
81-
const cleanup = client.on('test:event', () => { })
81+
const cleanup = client.on('test:event', () => {})
8282
cleanup()
8383
client.emit('test:event', { foo: 'bar' })
8484
expect(targetEmitSpy).toHaveBeenCalledWith(expect.any(Event))
@@ -101,7 +101,7 @@ describe('EventClient', () => {
101101
})
102102

103103
const eventBusSpy = vi.spyOn(clientBusEmitTarget, 'addEventListener')
104-
client.on('event', () => { })
104+
client.on('event', () => {})
105105
expect(eventBusSpy).toHaveBeenCalledWith(
106106
'test:event',
107107
expect.any(Function),

0 commit comments

Comments
 (0)