Skip to content

Commit b3979fc

Browse files
committed
fix(web): use ThreadId.make instead of non-existent makeUnsafe in test
The branded schema API exposes `make`, not `makeUnsafe`.
1 parent 4153c57 commit b3979fc

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎apps/web/src/uiStateStore.test.ts‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ describe("uiStateStore pure functions", () => {
212212
});
213213

214214
it("setThreadChangedFilesExpanded stores collapsed turns per thread", () => {
215-
const thread1 = ThreadId.makeUnsafe("thread-1");
215+
const thread1 = ThreadId.make("thread-1");
216216
const initialState = makeUiState();
217217

218218
const next = setThreadChangedFilesExpanded(initialState, thread1, "turn-1", false);
@@ -225,7 +225,7 @@ describe("uiStateStore pure functions", () => {
225225
});
226226

227227
it("setThreadChangedFilesExpanded removes thread overrides when expanded again", () => {
228-
const thread1 = ThreadId.makeUnsafe("thread-1");
228+
const thread1 = ThreadId.make("thread-1");
229229
const initialState = makeUiState({
230230
threadChangedFilesExpandedById: {
231231
[thread1]: {

0 commit comments

Comments
 (0)