mirror of
https://github.com/Dokploy/cli.git
synced 2026-06-15 20:25:22 +02:00
15 lines
413 B
TypeScript
15 lines
413 B
TypeScript
import {runCommand} from '@oclif/test'
|
|
import {expect} from 'chai'
|
|
|
|
describe('app:delete', () => {
|
|
it('runs app:delete cmd', async () => {
|
|
const {stdout} = await runCommand('app:delete')
|
|
expect(stdout).to.contain('hello world')
|
|
})
|
|
|
|
it('runs app:delete --name oclif', async () => {
|
|
const {stdout} = await runCommand('app:delete --name oclif')
|
|
expect(stdout).to.contain('hello oclif')
|
|
})
|
|
})
|