fix: make Target canonical and place Roadmap second
Build and publish Eldorado documentation / build (pull_request) Successful in 40s
Build and publish Eldorado documentation / build (pull_request) Successful in 40s
This commit is contained in:
1 parent
9651417ba7
commit
baf79e125b
15 files changed
+125
-72
No files matched your search
@@ -3,9 +3,9 @@ import assert from 'node:assert/strict';
|
||||
import {readFileSync, readdirSync} from 'node:fs';
|
||||
const read = p => readFileSync(p, 'utf8');
|
||||
const model = JSON.parse(read('research/ai-adoption/strategy-model.json'));
|
||||
test('eight fixed strategy pages preserve target boundary and separate evidence', () => {
|
||||
assert.equal(model.pages.length, 8);
|
||||
assert.equal(readdirSync('docs/strategy').length, 8);
|
||||
test('seven canonical strategy pages preserve target boundary and separate evidence', () => {
|
||||
assert.equal(model.pages.length, 7);
|
||||
assert.equal(readdirSync('docs/strategy').length, 7);
|
||||
for (const {id} of model.pages) {
|
||||
const page = read(`docs/strategy/${id}.mdx`);
|
||||
assert(page.includes(`id: ${id}`));
|
||||
|
||||
Reference in new issue
Block a user