Skip to content

Commit 8e1e669

Browse files
Claudehotlong
andauthored
fix(objectos): add vitest configuration for testing
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent 5dbfdfb commit 8e1e669

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

packages/objectos/vitest.config.ts

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// Copyright (c) 2025 ObjectStack. Licensed under the Apache-2.0 license.
2+
3+
import { defineConfig } from 'vitest/config';
4+
5+
export default defineConfig({
6+
test: {
7+
globals: true,
8+
environment: 'node',
9+
include: ['src/**/*.test.ts'],
10+
coverage: {
11+
provider: 'v8',
12+
reporter: ['text', 'json', 'html'],
13+
include: ['src/**/*.ts'],
14+
exclude: ['node_modules', 'dist', '**/*.test.ts'],
15+
},
16+
},
17+
});

0 commit comments

Comments
 (0)