Skip to content

Commit 1d0a0ba

Browse files
committed
fix(remote-config-typescript): rebase on main and fix e2e tests
1 parent 722387b commit 1d0a0ba

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

packages/remote-config/e2e/config.e2e.js

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -374,8 +374,7 @@ describe('remoteConfig()', function () {
374374

375375
describe('fetch()', function () {
376376
it('with expiration provided', async function () {
377-
const { getRemoteConfig, ensureInitialized, fetchConfig, LastFetchStatus } =
378-
remoteConfigModular;
377+
const { getRemoteConfig, ensureInitialized, fetchConfig } = remoteConfigModular;
379378
const date = Date.now() - 30000;
380379
const remoteConfig = getRemoteConfig();
381380
await ensureInitialized(remoteConfig);
@@ -386,7 +385,7 @@ describe('remoteConfig()', function () {
386385
}
387386

388387
await fetchConfig(remoteConfig, 0);
389-
remoteConfig.lastFetchStatus.should.equal(LastFetchStatus.SUCCESS);
388+
remoteConfig.lastFetchStatus.should.equal('success');
390389
should.equal(getRemoteConfig().fetchTimeMillis >= date, true);
391390
});
392391

0 commit comments

Comments
 (0)