test: consolidate failure guards and trim unused fixture APIs
This commit is contained in:
@@ -552,8 +552,7 @@ describe("replay of exact immutable calls", () => {
|
||||
).ok,
|
||||
).toBe(true);
|
||||
const snapshot = initial.exportAnalysisSnapshot();
|
||||
expect(snapshot.ok).toBe(true);
|
||||
if (!snapshot.ok) return;
|
||||
if (!snapshot.ok) throw snapshot.error;
|
||||
expect(snapshot.value.entries).toHaveLength(1);
|
||||
await initial.close();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user