From 5f87ea58d68f1fb82b330a984ce318413a4418e0 Mon Sep 17 00:00:00 2001 From: Joan Xie Date: Mon, 3 Nov 2025 16:37:27 -0800 Subject: [PATCH] Comment out localization parameter in tests MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The localization parameter is commented out in the buildManifest function signature, so it should also be commented out in the test calls. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- src/cli/init.ts | 6 +++--- test/init.test.ts | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/cli/init.ts b/src/cli/init.ts index 3d2af9f..f6a99a6 100644 --- a/src/cli/init.ts +++ b/src/cli/init.ts @@ -991,9 +991,9 @@ export async function initExtension( const visualAssets = nonInteractive ? { icon: "", icons: [], screenshots: [] } : await promptVisualAssets(); - const localization = nonInteractive - ? undefined - : await promptLocalization(); + // const localization = nonInteractive + // ? undefined + // : await promptLocalization(); const serverConfig = nonInteractive ? getDefaultServerConfig(packageData) : await promptServerConfig(packageData); diff --git a/test/init.test.ts b/test/init.test.ts index def2e9c..7acd57a 100644 --- a/test/init.test.ts +++ b/test/init.test.ts @@ -216,7 +216,7 @@ describe("init functions", () => { keywords: "", license: "", }, - undefined, + // undefined, // localization ); expect(manifest).toEqual({ @@ -315,10 +315,10 @@ describe("init functions", () => { license: "MIT", repository: { type: "git", url: "https://github.com/user/repo" }, }, - { - resources: "resources/${locale}.json", - default_locale: "en-US", - }, + // { // localization + // resources: "resources/${locale}.json", + // default_locale: "en-US", + // }, ); expect(manifest).toEqual({