Skip to content

Commit 50dec30

Browse files
committed
test(plugin-sdk): avoid auth profile store shadowing
1 parent e8df937 commit 50dec30

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/plugin-sdk/provider-auth.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,12 +153,12 @@ describe("provider auth profile helpers", () => {
153153
vi.doMock("../agents/auth-profiles/order.js", () => ({
154154
resolveAuthProfileOrder: ({
155155
provider,
156-
store,
156+
store: profileStore,
157157
}: {
158158
provider: string;
159159
store: AuthProfileStore;
160160
}) =>
161-
Object.entries(store.profiles)
161+
Object.entries(profileStore.profiles)
162162
.filter(([, profile]) => profile.provider === provider)
163163
.map(([profileId]) => profileId),
164164
}));

0 commit comments

Comments
 (0)