feat: add

This commit is contained in:
Mauricio Siu
2024-06-04 01:10:32 -06:00
parent de871490d7
commit 6dae0587d8
6 changed files with 334 additions and 31 deletions

View File

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