Skip to content

Commit eff2985

Browse files
Prettifies code
1 parent bcfa376 commit eff2985

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

src/doNotWaitForEmptyEventLoop/index.spec.ts

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,13 @@ import { inject } from '../inject';
55
let handler;
66

77
beforeEach(() => {
8-
handler = compose(
9-
types<{}, any>(),
10-
inject({}),
11-
doNotWaitForEmptyEventLoop(),
12-
)(async () => {});
8+
handler = compose(types<{}, any>(), inject({}), doNotWaitForEmptyEventLoop())(async () => {});
139
});
1410

1511
it('should set callbackWaitsForEmptyEventLoop to false', async () => {
1612
const context = {};
1713
await handler({}, context);
1814
expect(context).toEqual({
19-
callbackWaitsForEmptyEventLoop: false
15+
callbackWaitsForEmptyEventLoop: false,
2016
});
2117
});

0 commit comments

Comments
 (0)