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:
parent
e4f1236bf2
commit
5f87ea58d6
2 changed files with 8 additions and 8 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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({
|
||||
|
|
|
|||
Loading…
Reference in a new issue