LCOV - code coverage report
Current view: top level - pkg/metrics - index.js Coverage Total Hit
Test: cockpit Lines: 100.0 % 6 6
Test Date: 2026-07-02 14:11:36

            Line data    Source code
       1              : /*
       2              :  * Copyright (C) 2017 Red Hat, Inc.
       3              :  * SPDX-License-Identifier: LGPL-2.1-or-later
       4              :  */
       5              : 
       6              : import '../lib/patternfly/patternfly-6-cockpit.scss';
       7              : import 'cockpit-dark-theme'; // once per page
       8              : 
       9           11 : import React from 'react';
      10           11 : import { createRoot } from "react-dom/client";
      11              : import { Application } from './metrics.jsx';
      12              : 
      13           11 : document.addEventListener("DOMContentLoaded", function () {
      14           11 :     const root = createRoot(document.getElementById("app"));
      15           11 :     root.render(React.createElement(Application, {}));
      16           11 : });
        

Generated by: LCOV version 2.0-1