Skip to content

Commit 50d3b0a

Browse files
committed
test: 💍 add .stop() methods for RPC clients
1 parent a16547e commit 50d3b0a

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ jobs:
4646
- run: yarn test:cli:pack
4747
- run: yarn demo:json-patch
4848
- run: yarn demo:json-pointer
49-
rx-rpc:
49+
e2e-rx-rpc:
5050
runs-on: ubuntu-latest
5151
strategy:
5252
matrix:

src/reactive-rpc/common/rpc/caller/__tests__/RpcApiCaller.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ describe('smoke tests', () => {
114114
throw error.data;
115115
}),
116116
),
117+
stop: () => {},
117118
},
118119
};
119120
});

src/reactive-rpc/common/rpc/client/StaticRpcClient.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,4 +97,6 @@ export class StaticRpcClient implements RpcClient {
9797
const value = new Value(data, undefined);
9898
this.buffer.push(new msg.NotificationMessage(method, value));
9999
}
100+
101+
public stop() {}
100102
}

0 commit comments

Comments
 (0)