ToolJet/cli/test/commands/plugin/create.test.ts
Gandharv 631ff04d5f
Add tooljet cli (#1611)
* add tooljet cli

* remove yarn

* add integration command

* remove lic

* add plugin command

* feat: add plugin create cmd

* add path

* add create, delete, install cmds

* auto-generated readme

* use raw hygen runner inside cli

* add auto gen doc

* add rimraf

* add correct plugin name for tree

* remove oclif plugins

* update version - npm

* remove operations.ts

* add root path
2022-01-17 22:28:15 +05:30

10 lines
238 B
TypeScript

import {expect, test} from '@oclif/test'
describe('hello', () => {
test
.stdout()
.command(['hello', 'friend', '--from=oclif'])
.it('runs hello cmd', ctx => {
expect(ctx.stdout).to.contain('hello friend from oclif!')
})
})