feat: add info list project

This commit is contained in:
Mauricio Siu
2024-06-05 02:15:24 -06:00
parent bec0dfa57f
commit f1616b3909
2 changed files with 211 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
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')
})
})