moonfire-nvr/ui/src/App.test.tsx

13 lines
482 B
TypeScript

// This file is part of Moonfire NVR, a security camera network video recorder.
// Copyright (C) 2021 The Moonfire NVR Authors; see AUTHORS and LICENSE.txt.
// SPDX-License-Identifier: GPL-v3.0-or-later WITH GPL-3.0-linking-exception
import { screen } from "@testing-library/react";
import App from "./App";
import { renderWithCtx } from "./testutil";
test("instantiate", async () => {
renderWithCtx(<App />);
expect(screen.getByText(/Moonfire NVR/)).toBeInTheDocument();
});