(remoteId: EventJournal.RemoteId)
| 216 | ) |
| 217 | } |
| 218 | const upload = (remoteId: EventJournal.RemoteId) => |
| 219 | journals[0].withRemoteUncommited(remoteId, (entries) => |
| 220 | Effect.succeed(entries.map((entry) => entry.primaryKey).sort())) |
| 221 | assert.deepStrictEqual(yield* upload(remoteA), Option.some(["fromB", "pending"])) |
| 222 | assert.deepStrictEqual(yield* upload(remoteB), Option.some(["fromA", "pending"])) |
| 223 | const [{ legacy }] = yield* sql<{ legacy: string | null }>` |
no test coverage detected