We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 622bd05 commit 9d31281Copy full SHA for 9d31281
1 file changed
__tests__/index.test.ts
@@ -895,8 +895,6 @@ describe("basic rpc", () => {
895
class CounterFactory extends RpcTarget {
896
throwWithStub() {
897
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.
900
err.counter = new RpcStub(new Counter(10));
901
err.code = "E_STUB";
902
throw err;
0 commit comments