Skip to content

Commit fa8e579

Browse files
authored
feat: Remove mock fetch from mocks. (#525)
This was not used and had hidden global state which would have caused confusion if used. I also removed fetchFlags because it was unused and will be replaced with a used version in from the polling feature branch.
1 parent da4cedc commit fa8e579

File tree

7 files changed

+0
-279
lines changed

7 files changed

+0
-279
lines changed

packages/shared/mocks/src/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,13 @@ import ContextDeduplicator from './contextDeduplicator';
33
import { hasher } from './crypto';
44
import { MockEventProcessor, setupMockEventProcessor } from './eventProcessor';
55
import logger from './logger';
6-
import mockFetch from './mockFetch';
76
import { basicPlatform } from './platform';
87
import { MockStreamingProcessor, setupMockStreamingProcessor } from './streamingProcessor';
98

109
export {
1110
basicPlatform,
1211
clientContext,
1312
hasher,
14-
mockFetch,
1513
logger,
1614
ContextDeduplicator,
1715
MockEventProcessor,

packages/shared/mocks/src/mockFetch.ts

Lines changed: 0 additions & 32 deletions
This file was deleted.

packages/shared/sdk-client/src/evaluation/fetchFlags.test.ts

Lines changed: 0 additions & 73 deletions
This file was deleted.

packages/shared/sdk-client/src/evaluation/fetchFlags.ts

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/shared/sdk-client/src/evaluation/fetchUtils.test.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/shared/sdk-client/src/evaluation/fetchUtils.ts

Lines changed: 0 additions & 81 deletions
This file was deleted.

packages/shared/sdk-client/src/evaluation/mockResponseWithReasons.json

Lines changed: 0 additions & 66 deletions
This file was deleted.

0 commit comments

Comments
 (0)