Skip to content

Chrome DevTools for coding agents

chore: some build and test fixes (#1861)

Nikolay Vitkov764b9cf4064b
diff --git a/scripts/post-build.ts b/scripts/post-build.ts
index edf82259..7cf9da6a 100644
--- a/scripts/post-build.ts
+++ b/scripts/post-build.ts
@@ -26,6 +26,7 @@ function main(): void {
// Create i18n mock
const i18nDir = path.join(BUILD_DIR, devtoolsFrontEndCorePath, 'i18n');
+ fs.mkdirSync(i18nDir, {recursive: true});
const localesFile = path.join(i18nDir, 'locales.js');
const localesContent = `
export const LOCALES = [
diff --git a/scripts/test.mjs b/scripts/test.mjs
index 5c841006..997b4759 100644
--- a/scripts/test.mjs
+++ b/scripts/test.mjs
@@ -101,6 +101,7 @@ async function runTests(attempt) {
...process.env,
CHROME_DEVTOOLS_MCP_NO_USAGE_STATISTICS: true,
CHROME_DEVTOOLS_MCP_CRASH_ON_UNCAUGHT: true,
+ CHROME_DEVTOOLS_MCP_NO_UPDATE_CHECKS: true,
},
});