Skip to content

Commit 01aebed

Browse files
committed
fix js test
1 parent 6036996 commit 01aebed

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

site/src/modules/dashboard/Navbar/MobileMenu.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ const meta: Meta<typeof MobileMenu> = {
2323
component: MobileMenu,
2424
args: {
2525
proxyContextValue: {
26+
latenciesLoaded: true,
2627
proxy: {
2728
preferredPathAppURL: "",
2829
preferredWildcardHostname: "",

site/src/modules/dashboard/Navbar/NavbarView.test.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { renderWithAuth } from "testHelpers/renderHelpers";
66
import { NavbarView } from "./NavbarView";
77

88
const proxyContextValue: ProxyContextValue = {
9+
latenciesLoaded: true,
910
proxy: {
1011
preferredPathAppURL: "",
1112
preferredWildcardHostname: "",

site/src/modules/dashboard/Navbar/ProxyMenu.stories.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import { withDesktopViewport } from "testHelpers/storybook";
1515
import { ProxyMenu } from "./ProxyMenu";
1616

1717
const defaultProxyContextValue = {
18+
latenciesLoaded: true,
1819
proxyLatencies: MockProxyLatencies,
1920
proxy: getPreferredProxy(MockWorkspaceProxies, undefined),
2021
proxies: MockWorkspaceProxies,

0 commit comments

Comments
 (0)