Skip to content

Commit 203edc9

Browse files
committed
fixup: unit tests
1 parent d08933a commit 203edc9

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

packages/data-service/src/connect-mongo-client.spec.ts

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,11 @@ describe('connectMongoClient', function () {
7171
authMechanismProperties: {},
7272
oidc: {
7373
allowedFlows: options.oidc?.allowedFlows,
74-
customHttpOptions: options.oidc?.customHttpOptions,
7574
signal: undefined,
7675
},
7776
autoEncryption: undefined,
7877
parentHandle: options.parentHandle,
79-
applyProxyToOIDC: false,
78+
applyProxyToOIDC: {},
8079
...defaultOptions,
8180
});
8281
expect(await (options.oidc?.allowedFlows as any)()).to.deep.equal([
@@ -120,11 +119,10 @@ describe('connectMongoClient', function () {
120119
authMechanismProperties: {},
121120
oidc: {
122121
allowedFlows: options.oidc?.allowedFlows,
123-
customHttpOptions: options.oidc?.customHttpOptions,
124122
signal: undefined,
125123
},
126124
parentHandle: options.parentHandle,
127-
applyProxyToOIDC: false,
125+
applyProxyToOIDC: {},
128126
...defaultOptions,
129127
});
130128
expect(await (options.oidc?.allowedFlows as any)()).to.deep.equal([
@@ -157,12 +155,11 @@ describe('connectMongoClient', function () {
157155
authMechanismProperties: {},
158156
oidc: {
159157
allowedFlows: options.oidc?.allowedFlows,
160-
customHttpOptions: options.oidc?.customHttpOptions,
161158
signal: undefined,
162159
},
163160
autoEncryption: undefined,
164161
parentHandle: options.parentHandle,
165-
applyProxyToOIDC: false,
162+
applyProxyToOIDC: {},
166163
...defaultOptions,
167164
});
168165
expect(await (options.oidc?.allowedFlows as any)()).to.deep.equal([

0 commit comments

Comments
 (0)