Bump Harbor versions and surface gateway mode in overview
This commit is contained in:
@@ -9,7 +9,6 @@ import {
|
||||
formatConnectionDurationWords,
|
||||
isSubscriptionUrlValid,
|
||||
localProxyUrls,
|
||||
routePresentation,
|
||||
subscriptionDomain,
|
||||
subscriptionDaysLeft,
|
||||
subscriptionUsage,
|
||||
@@ -75,14 +74,6 @@ test('gateway proxy URLs use its network address', () => {
|
||||
});
|
||||
});
|
||||
|
||||
test('route copy distinguishes found, stale, lost, disabled and local states', () => {
|
||||
assert.equal(routePresentation({ mode: 'gateway-direct', reason: 'gateway-found' }).title, 'Через Harbor Gateway');
|
||||
assert.equal(routePresentation({ mode: 'gateway-direct', reason: 'gateway-stale' }).tone, 'stale');
|
||||
assert.match(routePresentation({ mode: 'local-vpn', reason: 'gateway-lost' }).title, /Gateway недоступен/);
|
||||
assert.match(routePresentation({ mode: 'local-vpn', reason: 'disabled' }).detail, /выключен/);
|
||||
assert.equal(routePresentation({ mode: 'local-vpn', reason: 'local' }).title, 'Локальный VPN');
|
||||
});
|
||||
|
||||
test('copy uses the synchronous native path available on gateway HTTP', async () => {
|
||||
const textarea = {
|
||||
style: {},
|
||||
|
||||
Reference in New Issue
Block a user