switch to vitest

This commit is contained in:
Scott Lamb
2023-12-17 23:07:28 -08:00
parent 24880a5c2d
commit 3911334fee
13 changed files with 1592 additions and 688 deletions

13
ui/vitest.config.ts Normal file
View File

@@ -0,0 +1,13 @@
// This file is part of Moonfire NVR, a security camera network video recorder.
// Copyright (C) 2023 The Moonfire NVR Authors; see AUTHORS and LICENSE.txt.
// SPDX-License-Identifier: GPL-v3.0-or-later WITH GPL-3.0-linking-exception
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
environment: "jsdom",
globals: true,
setupFiles: ["./src/setupTests.ts"],
},
});