feat: cleanup with respect to core
Build, test, deploy / site (push) Failing after 1m37s

This commit is contained in:
alexm committed 2026-10-06 10:30:36 -04:00
1 parent e525f1d26f
commit ce45d30cc7
10 files changed
+24 -24

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ test('every rendered view draws for a program that has what it needs, with the a
assert.match(tests.html, /way of failing/);
const machine = renderStatic({ view: 'machine', files: { asm: problemById('asm-two-pointers').sources.asm }, setup: problemById('asm-two-pointers').setup });
assert.match(machine.markdown, /\| instructions \| \d+ \|/);
const life = renderStatic({ view: 'life', files: { mojo: fs.readFileSync(ROOT + 'core/mojo/stress/lifecycle-moves.mojo', 'utf8') } });
const life = renderStatic({ view: 'life', files: { mojo: fs.readFileSync(ROOT + 'core/library/mojo/stress/lifecycle-moves.mojo', 'utf8') } });
assert.ok((life.html.match(/life-row/g) ?? []).length >= 3);
assert.doesNotMatch(life.html, /Click a mark/, 'a page has no stepper to move');
assert.equal(STATIC_VIEWS.length, 12);