Skip to content

Commit

Permalink
fixing test compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
tanderson-ld committed Jan 8, 2025
1 parent a39d16d commit da52f3c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/shared/sdk-server-edge/src/api/EdgeFeatureStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,15 @@ export class EdgeFeatureStore implements LDFeatureStore {
callback();
}

applyChanges(
basis: boolean,
data: LDFeatureStoreDataStorage,
selector: String | undefined,
callback: () => void,
): void {
callback();
}

getDescription(): string {
return this._description;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const mockFeatureStore: LDFeatureStore = {
init: jest.fn(),
initialized: jest.fn(),
upsert: jest.fn(),
applyChanges: jest.fn(),
get: jest.fn(),
delete: jest.fn(),
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ describe('createPayloadListenerFDv2', () => {
dataSourceUpdates = {
init: jest.fn(),
upsert: jest.fn(),
applyChanges: jest.fn(),
};
basisRecieved = jest.fn();
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ describe('createStreamListeners', () => {
dataSourceUpdates = {
init: jest.fn(),
upsert: jest.fn(),
applyChanges: jest.fn(),
};
onPutCompleteHandler = jest.fn();
onPatchCompleteHandler = jest.fn();
Expand Down

0 comments on commit da52f3c

Please sign in to comment.