Skip to content

Commit 4848279

Browse files
author
Athira M
committed
Fix merge conflicts
1 parent 432ac24 commit 4848279

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

packages/remote-config/src/api.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,10 @@ export async function activate(remoteConfig: RemoteConfig): Promise<boolean> {
118118
rc._storage.setActiveConfigTemplateVersion(
119119
lastSuccessfulFetchResponse.templateVersion
120120
),
121-
lastSuccessfulFetchResponse.experiments && experiment.updateActiveExperiments(lastSuccessfulFetchResponse.experiments),
121+
lastSuccessfulFetchResponse.experiments &&
122+
experiment.updateActiveExperiments(
123+
lastSuccessfulFetchResponse.experiments
124+
),
122125
rc._storage.setActiveConfigEtag(lastSuccessfulFetchResponse.eTag)
123126
]);
124127
return true;

packages/remote-config/test/api.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ describe('Remote Config API', () => {
116116
entries: response.config,
117117
state: 'OK',
118118
templateVersion: response.templateVersion,
119-
experimentDescriptions: response.experiments,
119+
experimentDescriptions: response.experiments
120120
})
121121
} as Response)
122122
);

packages/remote-config/test/client/rest_client.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ describe('RestClient', () => {
111111
status: expectedResponse.status,
112112
eTag: expectedResponse.eTag,
113113
config: expectedResponse.entries,
114+
templateVersion: expectedResponse.templateVersion,
114115
experiments: expectedResponse.experimentDescriptions
115116
});
116117
});

0 commit comments

Comments
 (0)