Files
obsidian-livesync/vitest.config.integration.ts
T
vorotamoroz 2433d117c2 Migrate CLI E2E tests to Node.js 26
Run the CLI subprocess suites and benchmark tools as native TypeScript with
node:test, and move them under test/e2e-cli.

Update CI and Compose runners, run local smoke tests on Linux, macOS, and
Windows, and collect source-mapped CLI coverage with c8.
2026-10-31 06:01:30 +00:00

26 lines
930 B
TypeScript

/**
* @file vitest.config.integration.ts
* @description Configuration for running database integration tests in Node.js against a real CouchDB instance
* (e.g. testing streaming changes, database connectivity, and replication status checks).
* This is executed via `npm run test:integration` during development and is run in the GitHub Actions `unit-ci` workflow.
*/
import { defineConfig, mergeConfig } from "vitest/config";
import viteConfig from "./vitest.config.common";
export default mergeConfig(
viteConfig,
defineConfig({
resolve: {
alias: {
obsidian: "", // prevent accidental imports of obsidian types in integration tests
},
},
test: {
logHeapUsage: true,
name: "integration-tests",
include: ["**/*.integration.spec.ts", "**/*.integration.test.ts"],
exclude: ["test/**"],
},
})
);