Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

test(core): copy complete parser fixture closure [C7]

Corey Olsonaf9585703876
diff --git a/test/test-resources.test.js b/test/test-resources.test.js
index 8beae523..6df7a14b 100644
--- a/test/test-resources.test.js
+++ b/test/test-resources.test.js
@@ -181,6 +181,7 @@ test('module launchers and dynamic builtins keep browser admission conservative
mkdirSync(join(root, 'src'), { recursive: true });
copyFileSync(resolve(import.meta.dirname, '../src/module-imports.js'), join(root, 'src/module-imports.js'));
+ copyFileSync(resolve(import.meta.dirname, '../src/js-lex.js'), join(root, 'src/js-lex.js'));
writeFileSync(join(root, 'test/parser.test.js'), "import '../src/module-imports.js';\n");
assert.equal(await testsNeedBrowser(root, ['test/parser.test.js']), false,
'the reviewed V8 compile-only import parser may use node:vm without evaluating the test graph');