Files
obsidian-livesync/src/modules/features/SetupWizard/connection/couchDBServerFixConfirmation.unit.spec.ts
T
vorotamoroz 73adfe3a74 refactor: organise source files by ownership
Separate host-independent helpers under common/core and colocate feature
support code with its owners. Update imports, tests, and source-layout
guidance while preserving runtime behaviour.
2026-11-13 10:58:24 +00:00

12 lines
535 B
TypeScript

import { describe, expect, it } from "vitest";
import { getCouchDBServerFixConfirmation } from "./couchDBServerFixConfirmation";
describe("CouchDB server requirement fixes", () => {
it("identifies the exact server setting and value before a fix is applied", () => {
expect(getCouchDBServerFixConfirmation("chttpd/require_valid_user", "true")).toEqual({
title: "Change CouchDB server setting",
message: "Change CouchDB server setting 'chttpd/require_valid_user' to 'true'?",
});
});
});