mirror of
https://github.com/slint-ui/slint.git
synced 2025-12-23 09:19:32 +00:00
14 lines
601 B
TypeScript
14 lines
601 B
TypeScript
// Copyright © SixtyFPS GmbH <info@slint.dev>
|
|
// SPDX-License-Identifier: GPL-3.0-only OR LicenseRef-Slint-Royalty-free-2.0 OR LicenseRef-Slint-Software-3.0
|
|
|
|
import { defineConfig } from "vitest/config";
|
|
|
|
export default defineConfig({
|
|
test: {
|
|
include: ["**/*.spec.mts"],
|
|
globals: true, // Enable global test/expect/describe
|
|
pool: "forks", // Use process forks (required for native modules that need main thread)
|
|
teardownTimeout: 5000, // Force teardown after 5s to prevent hanging processes
|
|
reporters: ["verbose"], // Show individual test names
|
|
},
|
|
});
|