import assert from "node:assert/strict"; import fs from "node:fs"; import path from "node:path"; import { fileURLToPath } from "node:url"; import { test } from "bun:test"; const sourcePath = path.resolve(path.dirname(fileURLToPath(import.meta.url)), "useProviderProfileOptions.ts"); test("provider profile options use the public catalog instead of admin management routes", () => { const source = fs.readFileSync(sourcePath, "utf8"); assert.match(source, /api\.providerProfileCatalog\(\)/u); assert.doesNotMatch(source, /api\.providerProfiles\(\)/u); });