mirror of
https://github.com/Dokploy/cli.git
synced 2026-06-29 11:05:32 +02:00
feat: add delete app
This commit is contained in:
14
test/commands/app/create.test.ts
Normal file
14
test/commands/app/create.test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import {runCommand} from '@oclif/test'
|
||||
import {expect} from 'chai'
|
||||
|
||||
describe('app:create', () => {
|
||||
it('runs app:create cmd', async () => {
|
||||
const {stdout} = await runCommand('app:create')
|
||||
expect(stdout).to.contain('hello world')
|
||||
})
|
||||
|
||||
it('runs app:create --name oclif', async () => {
|
||||
const {stdout} = await runCommand('app:create --name oclif')
|
||||
expect(stdout).to.contain('hello oclif')
|
||||
})
|
||||
})
|
||||
14
test/commands/app/delete.test.ts
Normal file
14
test/commands/app/delete.test.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
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')
|
||||
})
|
||||
})
|
||||
Reference in New Issue
Block a user