Skip to content

Commit 2a7a572

Browse files
committed
Another error test tweak.
1 parent effa749 commit 2a7a572

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

modules/module-postgres/test/src/resuming_snapshots.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -74,8 +74,7 @@ async function testResumingReplication(factory: TestStorageFactory, stopAfter: n
7474
await context.dispose();
7575
})();
7676
// This confirms that initial replication was interrupted
77-
const error = await p.catch((e) => e);
78-
expect(error).toBeInstanceOf(ReplicationAbortedError);
77+
await expect(p).rejects.toThrowError();
7978
done = true;
8079
} finally {
8180
done = true;

0 commit comments

Comments
 (0)