mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-25 00:07:47 +01:00
chore: upgrade edge banner version (#7180)
Upgrading banner to 19.1.3, because we fixed critical issue there.
This commit is contained in:
parent
83912d872b
commit
304d619597
@ -71,11 +71,11 @@ describe('displayUpgradeEdgeBanner', () => {
|
|||||||
expect(body.flags).toBeTruthy();
|
expect(body.flags).toBeTruthy();
|
||||||
expect(body.flags.displayUpgradeEdgeBanner).toBeTruthy();
|
expect(body.flags.displayUpgradeEdgeBanner).toBeTruthy();
|
||||||
});
|
});
|
||||||
test('ui config should not get displayUpgradeEdgeBanner flag if edge >= 17.0.0 has been seen', async () => {
|
test('ui config should not get displayUpgradeEdgeBanner flag if edge >= 19.1.3 has been seen', async () => {
|
||||||
await stores.clientInstanceStore.insert({
|
await stores.clientInstanceStore.insert({
|
||||||
appName: 'my-app',
|
appName: 'my-app',
|
||||||
instanceId: 'some-instance',
|
instanceId: 'some-instance',
|
||||||
sdkVersion: 'unleash-edge:17.1.0',
|
sdkVersion: 'unleash-edge:19.1.4',
|
||||||
});
|
});
|
||||||
const { body } = await request
|
const { body } = await request
|
||||||
.get(`${base}/api/admin/ui-config`)
|
.get(`${base}/api/admin/ui-config`)
|
||||||
|
@ -79,7 +79,7 @@ class ConfigController extends Controller {
|
|||||||
async () =>
|
async () =>
|
||||||
this.clientInstanceService.usesSdkOlderThan(
|
this.clientInstanceService.usesSdkOlderThan(
|
||||||
'unleash-edge',
|
'unleash-edge',
|
||||||
'17.0.0',
|
'19.1.3',
|
||||||
),
|
),
|
||||||
{
|
{
|
||||||
promise: true,
|
promise: true,
|
||||||
|
Loading…
Reference in New Issue
Block a user