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