feat: add verify and authenticate command

This commit is contained in:
Mauricio Siu
2024-06-04 21:47:36 -06:00
parent 6dae0587d8
commit 9f033de1b2
4 changed files with 132 additions and 30 deletions

View File

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