Skip to content

Commit bb9deb9

Browse files
committed
test: update phase8 SC#5 matrix for Nextra docs (typedoc removed)
1 parent 4463477 commit bb9deb9

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

tests/integration/phase8-sc-matrix.test.ts

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,15 @@ describe('Phase 8 SC#4 — README + examples + MIGRATION', () => {
9696
})
9797
})
9898

99-
describe('Phase 8 SC#5 — typedoc + governance docs + version 4.0.0', () => {
100-
it('typedoc config and docs script exist', () => {
101-
expect(has('typedoc.json')).toBe(true)
99+
describe('Phase 8 SC#5 — Nextra docs + governance docs + version 4.0.0', () => {
100+
it('nextra docs site and docs scripts exist', () => {
101+
expect(has('docs/next.config.mjs')).toBe(true)
102+
expect(has('docs/content/index.mdx')).toBe(true)
102103
const pkg = JSON.parse(read('package.json'))
103-
expect(pkg.scripts.docs).toMatch(/typedoc/)
104+
expect(pkg.scripts['docs:build']).toBeDefined()
105+
expect(pkg.scripts['docs:deploy']).toBeDefined()
106+
const docsPkg = JSON.parse(read('docs/package.json'))
107+
expect(docsPkg.scripts.build).toMatch(/next build/)
104108
})
105109

106110
it('CONTRIBUTING, SECURITY, and CHANGELOG ship', () => {

0 commit comments

Comments
 (0)