Skip to content

Commit 472b399

Browse files
committed
Fix bad test mock for provider initialization
1 parent 151a6cf commit 472b399

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/web/test/evaluation-context.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import type { EvaluationContext, JsonValue, Provider, ProviderMetadata, ResolutionDetails } from '../src';
22
import { OpenFeature } from '../src';
33

4-
const initializeMock = jest.fn();
4+
const initializeMock = jest.fn().mockResolvedValue(undefined);
55

66
class MockProvider implements Provider {
77
readonly metadata: ProviderMetadata;

0 commit comments

Comments
 (0)