Skip to content

Commit

Permalink
Update project-initializer.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Virajjai authored Aug 8, 2024
1 parent 8adf2ee commit e811873
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/cli/test/services/project-initializer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 () => {
Expand All @@ -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`)
})
})

0 comments on commit e811873

Please sign in to comment.