Skip to content

Commit e055596

Browse files
committed
test(app-shell): the palette suite's package-list double answers the converted authenticated read (headers)
The package list now goes through createAuthenticatedFetch, which reads the response's set-auth-token header; the double carried none, so the read threw and the palette drew no Packages group. Claude-Session: https://claude.ai/code/session_01QSeKYnV6DdKeTL414FFGnp Co-authored-by: Claude <noreply@anthropic.com>
1 parent cff1b9d commit e055596

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

‎ui/packages/app-shell/src/views/studio-design/StudioPaletteGroups.surfaceScope-36900.test.tsx‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,7 @@ beforeEach(() => {
155155
fetchMock = vi.fn(async (url: string) => {
156156
if (String(url).endsWith('/api/v1/packages')) {
157157
return {
158+
headers: new Headers(),
158159
ok: true,
159160
status: 200,
160161
json: async () => ({

0 commit comments

Comments
 (0)