(value: string)
| 862 | describe("syncWorkOsEvents", () => { |
| 863 | /** Pin the instance-wide cursor to a fresh known value, whatever it was. */ |
| 864 | const pinCursor = (value: string) => |
| 865 | Effect.gen(function* () { |
| 866 | const mirror = yield* WorkOsMirror; |
| 867 | const before = yield* mirror.getCursor(); |
| 868 | const moved = yield* mirror.applyPage(before, value, []); |
| 869 | expect(Option.isSome(moved)).toBe(true); |
| 870 | return value; |
| 871 | }); |
| 872 | |
| 873 | type Page = { |
| 874 | readonly data: readonly WorkOsMirroredEvent[]; |
no outgoing calls
no test coverage detected