hub-mcp-config.test.mjs
sha256:fbe982a22c05c6fe2e93876f250deecdb43d883f648b4e1810c7546caa9f17db
docs: activate KNOWTATION- board identity and preserve livi…
Human
minor
⚠ breaking
6 days ago
| 1 | import { readFileSync } from 'node:fs'; |
| 2 | import { fileURLToPath } from 'node:url'; |
| 3 | import { dirname, join } from 'node:path'; |
| 4 | import test from 'node:test'; |
| 5 | import assert from 'node:assert/strict'; |
| 6 | |
| 7 | const root = join(dirname(fileURLToPath(import.meta.url)), '..'); |
| 8 | const configPath = join(root, 'web/hub/config.js'); |
| 9 | const configSrc = readFileSync(configPath, 'utf8'); |
| 10 | |
| 11 | test('web/hub/config.js: hosted knowtation.store sets HUB_MCP_PUBLIC_URL for Copy Hub / KNOWTATION_MCP_URL', () => { |
| 12 | assert.match(configSrc, /knowtation\.store/); |
| 13 | assert.match(configSrc, /HUB_MCP_PUBLIC_URL/); |
| 14 | assert.match(configSrc, /mcp\.knowtation\.store/); |
| 15 | }); |
File History
1 commit
sha256:fbe982a22c05c6fe2e93876f250deecdb43d883f648b4e1810c7546caa9f17db
docs: activate KNOWTATION- board identity and preserve livi…
Human
minor
⚠
6 days ago