Skip to content

Commit

Permalink
style: format code
Browse files Browse the repository at this point in the history
  • Loading branch information
y1j2x34 committed Apr 9, 2024
1 parent 27370b7 commit 84a396e
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions packages/rxjs/__test__/src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,10 @@ describe('@vgerbot/shortcuts-rxjs', () => {
it('fromShortcutEvent selector should be called', async () => {
const selector = jest.fn().mockReturnValue(event);

const promise = fromShortcutKeyEvent(
document.body,
'Enter',
{
selector,
eventName: 'keydown'
}
)
const promise = fromShortcutKeyEvent(document.body, 'Enter', {
selector,
eventName: 'keydown'
})
.pipe(take(1))
.toPromise();

Expand Down

0 comments on commit 84a396e

Please sign in to comment.