Skip to content

Commit

Permalink
fix: e2e test
Browse files Browse the repository at this point in the history
  • Loading branch information
jayzhang committed Sep 19, 2023
1 parent dba5c10 commit c9e6bb1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/tests/src/e2e/command/template.tests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ describe("teamsfx new template", function () {
`${sampleName}`,
{ testPlanCaseId: 24137474, author: "[email protected]" },
async function () {
await execAsync(`teamsfx new template ${sampleName}`, {
await execAsync(`teamsfx new sample ${sampleName}`, {
cwd: testFolder,
env: process.env,
timeout: 0,
Expand Down
4 changes: 2 additions & 2 deletions packages/tests/src/utils/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,8 @@ export class Executor {
) {
const command =
`teamsfx add spfx-web-part --spfx-webpart-name ${webpartName}` +
` --spfx-folder ${spfxFolder} --manifest-path ${manifestPath}` +
` --local-manifest-path ${localManifestPath}`;
` --spfx-folder ${spfxFolder} --teams-manifest-file ${manifestPath}` +
` --local-teams-manifest-file ${localManifestPath}`;
return this.execute(command, workspace);
}

Expand Down

0 comments on commit c9e6bb1

Please sign in to comment.