Skip to content

Commit 1372a7a

Browse files
test(pi): keep running fork regression focused on native cut
1 parent 111dadc commit 1372a7a

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎packages/provider-pi/src/server/adapter.test.ts‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1844,16 +1844,6 @@ describe("PiAdapterV2", () => {
18441844
.map((request) => request.entryId);
18451845
// Pi keeps only the fork entry's ancestors, so u2 (not steer2) drops all of turn 2.
18461846
assert.deepEqual(forkedEntries, ["u2"]);
1847-
const byId = new Map(UNCAPTURED_TURN_TREE.entries.map((entry) => [entry.id, entry]));
1848-
const retained: Array<string> = [];
1849-
for (let id = byId.get("u2")?.parentId ?? null; id !== null;) {
1850-
retained.unshift(id);
1851-
id = byId.get(id)?.parentId ?? null;
1852-
}
1853-
assert.deepEqual(
1854-
retained,
1855-
TURN_ONE_ENTRIES.map((entry) => entry.id),
1856-
);
18571847
}).pipe(Effect.scoped, Effect.provide(layerTest)),
18581848
);
18591849

0 commit comments

Comments
 (0)