forked from NVIDIA/NemoClaw
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathvitest.config.ts
More file actions
38 lines (36 loc) · 982 Bytes
/
vitest.config.ts
File metadata and controls
38 lines (36 loc) · 982 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
// SPDX-FileCopyrightText: Copyright (c) 2026 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
// SPDX-License-Identifier: Apache-2.0
import { defineConfig } from "vitest/config";
export default defineConfig({
test: {
projects: [
{
test: {
name: "cli",
include: ["test/**/*.test.{js,ts}"],
exclude: ["**/node_modules/**", "**/.claude/**", "test/e2e/**"],
},
},
{
test: {
name: "plugin",
include: ["nemoclaw/src/**/*.test.ts"],
},
},
{
test: {
name: "e2e-brev",
include: ["test/e2e/brev-e2e.test.js"],
// Only run when explicitly targeted: npx vitest run --project e2e-brev
enabled: !!process.env.BREV_API_TOKEN,
},
},
],
coverage: {
provider: "v8",
include: ["nemoclaw/src/**/*.ts"],
exclude: ["**/*.test.ts"],
reporter: ["text", "json-summary"],
},
},
});