Files
cli/test/commands/project/info.test.ts
2024-06-05 02:15:24 -06:00

15 lines
423 B
TypeScript

import {runCommand} from '@oclif/test'
import {expect} from 'chai'
describe('project:info', () => {
it('runs project:info cmd', async () => {
const {stdout} = await runCommand('project:info')
expect(stdout).to.contain('hello world')
})
it('runs project:info --name oclif', async () => {
const {stdout} = await runCommand('project:info --name oclif')
expect(stdout).to.contain('hello oclif')
})
})