Skip to content

Commit 977e88c

Browse files
committed
fix test
1 parent 3eced81 commit 977e88c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

packages/request-client.js/src/http-data-access-config.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ export class HttpDataAccessConfig {
2626
}: {
2727
httpConfig?: Partial<ClientTypes.IHttpDataAccessConfig>;
2828
nodeConnectionConfig?: Partial<NodeConnectionConfig>;
29-
persist?: boolean;
3029
} = {
3130
httpConfig: {},
3231
nodeConnectionConfig: {},

packages/request-client.js/test/api/request-network.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ const mockDataAccess: DataAccessTypes.IDataAccess = {
1616
close: jest.fn(),
1717
persistTransaction: jest.fn(),
1818
getChannelsByMultipleTopics: jest.fn(),
19+
isPersisting: jest.fn().mockReturnValue(true),
1920
};
2021

2122
describe('api/request-network', () => {

0 commit comments

Comments
 (0)