Comment out localization parameter in tests

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 <noreply@anthropic.com>
This commit is contained in:
Joan Xie 2025-11-03 16:37:27 -08:00
commit 5f87ea58d6
No known key found for this signature in database
2 changed files with 8 additions and 8 deletions

View file

@ -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);

View file

@ -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({