feat: add delete

This commit is contained in:
Mauricio Siu
2024-06-12 23:15:00 -06:00
parent 99451d416c
commit fbf6b7f5cc
10 changed files with 835 additions and 0 deletions

View 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')
})
})