Skip to content

Commit 9345706

Browse files
committed
Fix remote config test
1 parent e00897b commit 9345706

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/checkout/sdk/src/config/tokensFetcher.test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ describe('TokensFetcher', () => {
2020
beforeEach(() => {
2121
mockedHttpClient = new HttpClient() as jest.Mocked<HttpClient>;
2222
mockedConfigClient = new RemoteConfigFetcher(mockedHttpClient, {
23-
isDevelopment: true,
24-
isProduction: false,
23+
remoteConfigEndpoint: 'configUrl',
2524
}) as jest.Mocked<RemoteConfigFetcher>;
2625

2726
mockedConfigClient.getConfig.mockResolvedValue({

0 commit comments

Comments
 (0)