Skip to content

Commit 9d31281

Browse files
authored
Update __tests__/index.test.ts
1 parent 622bd05 commit 9d31281

1 file changed

Lines changed: 0 additions & 2 deletions

File tree

__tests__/index.test.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -895,8 +895,6 @@ describe("basic rpc", () => {
895895
class CounterFactory extends RpcTarget {
896896
throwWithStub() {
897897
let err = new Error("with-stub") as any;
898-
// Attach a stub to the error. There's no sensible lifetime for this capability, so
899-
// it must be dropped on the wire rather than leaked to the importer.
900898
err.counter = new RpcStub(new Counter(10));
901899
err.code = "E_STUB";
902900
throw err;

0 commit comments

Comments
 (0)