Skip to content

Commit 622284b

Browse files
committed
fix: add isClientContextParam flag to handle parameter types
1 parent ffc3c32 commit 622284b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/middleware-endpoint/src/adaptors/createConfigValueProvider.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ describe(createConfigValueProvider.name, () => {
6666
apiKey: "nested-api-key",
6767
},
6868
};
69-
expect(await createConfigValueProvider("apiKey", "apiKey", config)()).toEqual("nested-api-key");
69+
expect(await createConfigValueProvider("apiKey", "apiKey", config, true)()).toEqual("nested-api-key");
7070
});
7171

7272
it("should fall back to direct property when clientContextParams is not provided", async () => {

0 commit comments

Comments
 (0)