mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-11-01 13:58:18 +00:00
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.
22 lines
657 B
TypeScript
22 lines
657 B
TypeScript
import { test } from "node:test";
|
|
import { runScenario } from "./test-e2e-two-vaults-couchdb.ts";
|
|
|
|
type MatrixCase = {
|
|
remoteType: "COUCHDB" | "MINIO";
|
|
encrypt: boolean;
|
|
label: string;
|
|
};
|
|
|
|
const matrixCases: MatrixCase[] = [
|
|
{ remoteType: "COUCHDB", encrypt: false, label: "COUCHDB-enc0" },
|
|
{ remoteType: "COUCHDB", encrypt: true, label: "COUCHDB-enc1" },
|
|
{ remoteType: "MINIO", encrypt: false, label: "MINIO-enc0" },
|
|
{ remoteType: "MINIO", encrypt: true, label: "MINIO-enc1" },
|
|
];
|
|
|
|
for (const tc of matrixCases) {
|
|
test(`e2e matrix: ${tc.label}`, async () => {
|
|
await runScenario(tc.remoteType, tc.encrypt);
|
|
});
|
|
}
|