Skip to content

Commit

Permalink
test: ut
Browse files Browse the repository at this point in the history
  • Loading branch information
yuqizhou77 committed Apr 23, 2024
1 parent d5a5a08 commit 28a219b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/cli/.vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"name": "Launch new command (non-interactive)",
"skipFiles": ["<node_internals>/**"],
"program": "${workspaceFolder}/cli.js",
"args": ["new", "-i", "true"],
"args": ["new", "-i", "false"],
"outFiles": [
"${workspaceFolder}/lib/**/*.js",
"${workspaceFolder}/../fx-core/build/**/*.js",
Expand Down
4 changes: 2 additions & 2 deletions packages/fx-core/tests/question/create.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3265,7 +3265,7 @@ describe("scaffold question", () => {
const options = await select.dynamicOptions!(inputs);
assert.isTrue(options.length === 2);

return ok({ type: "success", result: CapabilityOptions.cusomizeGptWithPlugin().id });
return ok({ type: "success", result: CapabilityOptions.customizeGptWithPlugin().id });
} else if (question.name === QuestionNames.CustomizeGptWithPluginStart) {
const select = question as SingleSelectQuestion;
const options = await select.staticOptions;
Expand Down Expand Up @@ -3318,7 +3318,7 @@ describe("scaffold question", () => {
const options = await select.dynamicOptions!(inputs);
assert.isTrue(options.length === 2);

return ok({ type: "success", result: CapabilityOptions.cusomizeGptWithPlugin().id });
return ok({ type: "success", result: CapabilityOptions.customizeGptWithPlugin().id });
} else if (question.name === QuestionNames.CustomizeGptWithPluginStart) {
const select = question as SingleSelectQuestion;
const options = await select.staticOptions;
Expand Down

0 comments on commit 28a219b

Please sign in to comment.