Skip to content

Commit f0c3b32

Browse files
committed
linting fixes
1 parent cafbbaf commit f0c3b32

2 files changed

Lines changed: 2 additions & 7 deletions

File tree

packages/agent/src/prototyping/clients/server-info-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { KeyValueStore } from "@web5/common";
1+
import { KeyValueStore } from '@web5/common';
22

33
export type ServerInfo = {
44
/** the maximum file size the user can request to store */

packages/agent/tests/rpc-client.spec.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
11
import sinon from 'sinon';
22
import { expect } from 'chai';
3-
import { testDwnUrl } from './utils/test-config.js'
3+
import { testDwnUrl } from './utils/test-config.js';
44

5-
import { Persona, TestDataGenerator } from '@tbd54566975/dwn-sdk-js';
65
import { HttpDwnRpcClient, Web5RpcClient } from '../src/rpc-client.js';
76
import { DwnServerInfoCacheMemory } from '../src/prototyping/clients/dwn-server-info-cache-memory.js';
87

98
describe('RPC Clients', () => {
109
describe('HttpDwnRpcClient', () => {
11-
let alice: Persona;
1210
let client: HttpDwnRpcClient;
1311

1412
beforeEach(async () => {
1513
sinon.restore();
1614
client = new HttpDwnRpcClient();
17-
alice = await TestDataGenerator.generateDidKeyPersona();
1815
});
1916

2017
it('should retrieve subsequent result from cache', async () => {
@@ -56,13 +53,11 @@ describe('RPC Clients', () => {
5653
});
5754

5855
describe('Web5RpcClient', () => {
59-
let alice: Persona;
6056
let client: Web5RpcClient;
6157

6258
beforeEach(async () => {
6359
sinon.restore();
6460
client = new Web5RpcClient();
65-
alice = await TestDataGenerator.generateDidKeyPersona();
6661
});
6762

6863
describe('getServerInfo',() => {

0 commit comments

Comments
 (0)