Skip to content

Commit

Permalink
feat: Remove mock fetch from mocks. (#525)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
kinyoklion authored Jul 31, 2024
1 parent da4cedc commit fa8e579
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 279 deletions.
2 changes: 0 additions & 2 deletions packages/shared/mocks/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,13 @@ import ContextDeduplicator from './contextDeduplicator';
import { hasher } from './crypto';
import { MockEventProcessor, setupMockEventProcessor } from './eventProcessor';
import logger from './logger';
import mockFetch from './mockFetch';
import { basicPlatform } from './platform';
import { MockStreamingProcessor, setupMockStreamingProcessor } from './streamingProcessor';

export {
basicPlatform,
clientContext,
hasher,
mockFetch,
logger,
ContextDeduplicator,
MockEventProcessor,
Expand Down
32 changes: 0 additions & 32 deletions packages/shared/mocks/src/mockFetch.ts

This file was deleted.

73 changes: 0 additions & 73 deletions packages/shared/sdk-client/src/evaluation/fetchFlags.test.ts

This file was deleted.

21 changes: 0 additions & 21 deletions packages/shared/sdk-client/src/evaluation/fetchFlags.ts

This file was deleted.

4 changes: 0 additions & 4 deletions packages/shared/sdk-client/src/evaluation/fetchUtils.test.ts

This file was deleted.

81 changes: 0 additions & 81 deletions packages/shared/sdk-client/src/evaluation/fetchUtils.ts

This file was deleted.

This file was deleted.

0 comments on commit fa8e579

Please sign in to comment.