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 const visualAssets = nonInteractive
? { icon: "", icons: [], screenshots: [] } ? { icon: "", icons: [], screenshots: [] }
: await promptVisualAssets(); : await promptVisualAssets();
const localization = nonInteractive // const localization = nonInteractive
? undefined // ? undefined
: await promptLocalization(); // : await promptLocalization();
const serverConfig = nonInteractive const serverConfig = nonInteractive
? getDefaultServerConfig(packageData) ? getDefaultServerConfig(packageData)
: await promptServerConfig(packageData); : await promptServerConfig(packageData);

View file

@ -216,7 +216,7 @@ describe("init functions", () => {
keywords: "", keywords: "",
license: "", license: "",
}, },
undefined, // undefined, // localization
); );
expect(manifest).toEqual({ expect(manifest).toEqual({
@ -315,10 +315,10 @@ describe("init functions", () => {
license: "MIT", license: "MIT",
repository: { type: "git", url: "https://github.com/user/repo" }, repository: { type: "git", url: "https://github.com/user/repo" },
}, },
{ // { // localization
resources: "resources/${locale}.json", // resources: "resources/${locale}.json",
default_locale: "en-US", // default_locale: "en-US",
}, // },
); );
expect(manifest).toEqual({ expect(manifest).toEqual({