Skip to content

Commit 3ae0fad

Browse files
style(client-runtime): format subscription error receipt test
1 parent f08e577 commit 3ae0fad

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

‎packages/client-runtime/src/state/threads-atoms.test.ts‎

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,10 +307,8 @@ describe("createEnvironmentThreadStateAtoms", () => {
307307
});
308308
const unmount = h.registry.mount(h.stateAtom);
309309
yield* Deferred.await(completed);
310-
const failed = yield* observeState(
311-
h.registry,
312-
h.stateAtom,
313-
(state) => Option.isSome(state.error),
310+
const failed = yield* observeState(h.registry, h.stateAtom, (state) =>
311+
Option.isSome(state.error),
314312
);
315313
expect(failed.status).toBe("empty");
316314
expect(failed.error).toEqual(Option.some("Could not synchronize the thread."));

0 commit comments

Comments
 (0)