We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f0c3b32 commit b2116eaCopy full SHA for b2116ea
1 file changed
packages/agent/tests/rpc-client.spec.ts
@@ -14,6 +14,10 @@ describe('RPC Clients', () => {
14
client = new HttpDwnRpcClient();
15
});
16
17
+ after(() => {
18
+ sinon.restore();
19
+ });
20
+
21
it('should retrieve subsequent result from cache', async () => {
22
// we spy on fetch to see how many times it is called
23
const fetchSpy = sinon.spy(globalThis, 'fetch');
@@ -55,6 +59,10 @@ describe('RPC Clients', () => {
55
59
describe('Web5RpcClient', () => {
56
60
let client: Web5RpcClient;
57
61
62
63
64
65
58
66
beforeEach(async () => {
67
sinon.restore();
68
client = new Web5RpcClient();
0 commit comments