mirror of
https://github.com/Dokploy/cli.git
synced 2026-06-16 04:35:23 +02:00
15 lines
423 B
TypeScript
15 lines
423 B
TypeScript
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')
|
|
})
|
|
})
|