Skip to content

Commit cf2c2d6

Browse files
committed
fix: remove await because getData() is not async
1 parent 2def6ef commit cf2c2d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/request-client.js/test/in-memory-request.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ describe('handle in-memory request', () => {
136136

137137
const request = await requestNetwork.createRequest(requestCreationParams);
138138

139-
await expect(request.getData()).rejects.toThrow(
139+
expect(request.getData()).rejects.toThrow(
140140
'value must be a promise or a function returning a promise',
141141
);
142142
});

0 commit comments

Comments
 (0)