Skip to content

Commit d62409a

Browse files
committed
Fixed data connect test
1 parent 7c7f3ae commit d62409a

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

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

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,8 @@ describe('fetch', () => {
5757
null,
5858
null,
5959
false,
60-
CallerSdkTypeEnum.Base
60+
CallerSdkTypeEnum.Base,
61+
false
6162
)
6263
).to.eventually.be.rejectedWith(message);
6364
});
@@ -81,7 +82,8 @@ describe('fetch', () => {
8182
null,
8283
null,
8384
false,
84-
CallerSdkTypeEnum.Base
85+
CallerSdkTypeEnum.Base,
86+
false
8587
)
8688
).to.eventually.be.rejectedWith(JSON.stringify(json));
8789
});
@@ -112,7 +114,8 @@ describe('fetch', () => {
112114
null,
113115
null,
114116
false,
115-
CallerSdkTypeEnum.Base
117+
CallerSdkTypeEnum.Base,
118+
false
116119
)
117120
).to.eventually.be.rejected.then(error => {
118121
expect(error.response.data).to.eq(json.data);
@@ -143,7 +146,8 @@ describe('fetch', () => {
143146
null,
144147
null,
145148
false, // _isUsingGen is false
146-
callerSdkType as CallerSdkType
149+
callerSdkType as CallerSdkType,
150+
false
147151
);
148152

149153
let expectedHeaderRegex: RegExp;
@@ -191,7 +195,8 @@ describe('fetch', () => {
191195
null,
192196
null,
193197
true, // _isUsingGen is true
194-
callerSdkType as CallerSdkType
198+
callerSdkType as CallerSdkType,
199+
false
195200
);
196201

197202
let expectedHeaderRegex: RegExp;

0 commit comments

Comments
 (0)