landing-family-unit.test.mjs
sha256:4215cecbbabf5591b1ff69053cc938b4b6c800f0d487be40618c1d4254d8b67b
security: npm audit fix pre-bridge 2026-09-05
Human
2 days ago
| 1 | import { describe, it } from 'node:test'; |
| 2 | import assert from 'node:assert'; |
| 3 | import { readFileSync } from 'node:fs'; |
| 4 | import { fileURLToPath } from 'node:url'; |
| 5 | import { dirname, join } from 'node:path'; |
| 6 | |
| 7 | const root = join(dirname(fileURLToPath(import.meta.url)), '..'); |
| 8 | const indexHtml = readFileSync(join(root, 'web', 'index.html'), 'utf8'); |
| 9 | |
| 10 | describe('landing family copy (unit)', () => { |
| 11 | it('does not mention AgentCeption on the public landing page', () => { |
| 12 | assert.equal(/agentception/i.test(indexHtml), false); |
| 13 | }); |
| 14 | |
| 15 | it('names Ourware, scool.ing, theBRAIN, and Overseer Kit', () => { |
| 16 | assert.match(indexHtml, /Ourware/); |
| 17 | assert.match(indexHtml, /scool\.ing/); |
| 18 | assert.match(indexHtml, /theBRAIN/); |
| 19 | assert.match(indexHtml, /Overseer Kit/); |
| 20 | }); |
| 21 | |
| 22 | it('does not retain Parentier branding on the public landing page', () => { |
| 23 | assert.equal(/parentier/i.test(indexHtml), false); |
| 24 | }); |
| 25 | |
| 26 | it('avoids Parent Here, parent company, schooling, and school.ing labels', () => { |
| 27 | assert.equal(/parent here/i.test(indexHtml), false); |
| 28 | assert.equal(/parent company/i.test(indexHtml), false); |
| 29 | assert.equal(/\bschooling\b/i.test(indexHtml), false); |
| 30 | assert.equal(/school\.ing/i.test(indexHtml), false); |
| 31 | }); |
| 32 | }); |
File History
2 commits
sha256:4215cecbbabf5591b1ff69053cc938b4b6c800f0d487be40618c1d4254d8b67b
security: npm audit fix pre-bridge 2026-09-05
Human
2 days ago
sha256:9eaa2a7ec9aaf5866cd03d0deadf843cca97778299d1857b5452f71d92a1880a
feat(f24): flip DOCS_NOTION_HUB_KEY_AUTHORIZED=true (Tier 3)
Human
minor
⚠
16 days ago