swartzrock_obsidian-setting.../tests/scaffold.test.ts
Jason Swartz e625eb1059 feat(dialogs): add movable Settings modal controls
Enhance supported Obsidian Settings and catalog dialogs with drag, resize, geometry persistence, preset controls, and cleanup on unload. Cover the pure geometry, settings, detector, pointer interaction, and enhancer behavior with Vitest.
2026-06-15 12:27:04 -07:00

16 lines
516 B
TypeScript

import { describe, expect, it } from "vitest";
import manifest from "../manifest.json";
import versions from "../versions.json";
describe("scaffold metadata", () => {
it("keeps the plugin id stable", () => {
expect(manifest.id).toBe("settings-float");
expect(manifest.name).toBe("Settings Float");
});
it("maps the current version to the minimum supported Obsidian version", () => {
expect(versions[manifest.version as keyof typeof versions]).toBe(
manifest.minAppVersion,
);
});
});