• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

stacklok / codegate-ui / 12827352251

17 Jan 2025 10:33AM UTC coverage: 67.699% (-0.7%) from 68.391%
12827352251

Pull #101

github

web-flow
Merge 036c3a0b7 into 6bfa866ee
Pull Request #101: feat: react-query hey-api integration

211 of 389 branches covered (54.24%)

Branch coverage included in aggregate %.

20 of 33 new or added lines in 3 files covered. (60.61%)

401 of 515 relevant lines covered (77.86%)

28.98 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main.tsx
1
import { StrictMode } from "react";
2
import { createRoot } from "react-dom/client";
3
import "./index.css";
4
import "@stacklok/ui-kit/style";
5
import App from "./App.tsx";
6
import { BrowserRouter } from "react-router-dom";
7
import { SidebarProvider } from "./components/ui/sidebar.tsx";
8
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
9
import ErrorBoundary from "./components/ErrorBoundary.tsx";
10
import { Error } from "./components/Error.tsx";
11
import { DarkModeProvider } from "@stacklok/ui-kit";
12
import { client } from "./api/generated/index.ts";
13

14
// Initialize the API client
NEW
15
client.setConfig({
×
16
  baseUrl: import.meta.env.VITE_BASE_API_URL,
17
});
18

19
createRoot(document.getElementById("root")!).render(
20
  <StrictMode>
21
    <BrowserRouter>
22
      <DarkModeProvider>
23
        <SidebarProvider>
24
          <ErrorBoundary fallback={<Error />}>
25
            <QueryClientProvider client={new QueryClient()}>
26
              <App />
27
            </QueryClientProvider>
28
          </ErrorBoundary>
29
        </SidebarProvider>
30
      </DarkModeProvider>
31
    </BrowserRouter>
32
  </StrictMode>,
33
);
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc