mirror of
https://github.com/bitsofchris/openaugi-obsidian-plugin.git
synced 2026-07-22 05:46:42 +00:00
15 lines
357 B
TypeScript
15 lines
357 B
TypeScript
import { defineConfig } from 'vitest/config';
|
|
import path from 'path';
|
|
|
|
export default defineConfig({
|
|
resolve: {
|
|
alias: {
|
|
// Mock the obsidian module globally so imports don't fail
|
|
'obsidian': path.resolve(__dirname, 'tests/mocks/obsidian-module.ts'),
|
|
},
|
|
},
|
|
test: {
|
|
globals: true,
|
|
include: ['tests/**/*.test.ts'],
|
|
},
|
|
});
|