From e8118736d4012188d07342b366beb2cf5317a3ea Mon Sep 17 00:00:00 2001 From: Viraj Jaiswal <157706576+Virajjai@users.noreply.github.com> Date: Thu, 8 Aug 2024 22:36:58 +0530 Subject: [PATCH] Update project-initializer.test.ts --- packages/cli/test/services/project-initializer.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/cli/test/services/project-initializer.test.ts b/packages/cli/test/services/project-initializer.test.ts index 37fe91130..f199abfe2 100644 --- a/packages/cli/test/services/project-initializer.test.ts +++ b/packages/cli/test/services/project-initializer.test.ts @@ -57,6 +57,7 @@ describe('project initializer', (): void => { expect(fs.mkdirs).to.have.been.calledWithMatch(`${projectName}/src/common`) expect(fs.mkdirs).to.have.been.calledWithMatch(`${projectName}/src/event-handlers`) expect(fs.mkdirs).to.have.been.calledWithMatch(`${projectName}/src/scheduled-commands`) + expert(fs.mkdirs).to.have.been.calledWithMatch(`${projectName}/.vscode`) }) it('install dependencies', async () => { @@ -78,5 +79,6 @@ describe('project initializer', (): void => { expect(fs.outputFile).to.have.been.calledWithMatch(`${projectName}/src/config/config.ts`) expect(fs.outputFile).to.have.been.calledWithMatch(`${projectName}/src/index.ts`) expect(fs.outputFile).to.have.been.calledWithMatch(`${projectName}/.mocharc.yml`) + expert(fs.outputFile).to.have.been.calledWithMatch(`${projectName}/.vscode/launch.json`) }) })