Skip to content

Commit b8ff494

Browse files
only21milclaude
andcommitted
test(server): assert the restarted tab's profile from the returned status
Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 parent 4532fd3 commit b8ff494

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/server/src/preview/ServerBrowser.test.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@ it.live("an agent opens a reported profile after a restart, before any client re
11701170
});
11711171
}).pipe(Effect.provide(Layer.fresh(ServerBrowser.layer)));
11721172

1173-
expect(contextRequests).toEqual([{ profileId: "profile-work", isolated: false }]);
1173+
expect(restarted.tabs).toMatchObject([{ profileId: "profile-work" }]);
11741174
expect(restarted).toMatchObject({
11751175
defaultProfileId: "profile-work",
11761176
profiles: [

0 commit comments

Comments
 (0)