Skip to content

Commit dc15ecc

Browse files
committed
Updated formatting
1 parent 8677c74 commit dc15ecc

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

packages/data-connect/src/network/transport/rest.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ export class RESTTransport implements DataConnectTransport {
4242
private authProvider?: AuthTokenProvider | undefined,
4343
private appCheckProvider?: AppCheckTokenProvider | undefined,
4444
transportOptions?: TransportOptions | undefined,
45-
private _isUsingGen = false,
45+
private _isUsingGen = false
4646
) {
4747
if (transportOptions) {
4848
if (typeof transportOptions.port === 'number') {

packages/data-connect/test/unit/fetch.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ describe('fetch', () => {
4040
message
4141
});
4242
await expect(
43-
dcFetch('http://localhost', {}, {} as AbortController, null, false)
43+
dcFetch('http://localhost', {}, {} as AbortController, null, null, false)
4444
).to.eventually.be.rejectedWith(message);
4545
});
4646
it('should throw a stringified message when the server responds with an error without a message property in the body', async () => {
@@ -51,7 +51,7 @@ describe('fetch', () => {
5151
};
5252
mockFetch(json);
5353
await expect(
54-
dcFetch('http://localhost', {}, {} as AbortController, null, false)
54+
dcFetch('http://localhost', {}, {} as AbortController, null, null, false)
5555
).to.eventually.be.rejectedWith(JSON.stringify(json));
5656
});
5757
});

0 commit comments

Comments
 (0)