JJ
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
import {runCommand} from '@oclif/test'
|
||||
import {expect} from 'chai'
|
||||
|
||||
describe('hello', () => {
|
||||
it('runs hello', async () => {
|
||||
const {stdout} = await runCommand('hello friend --from oclif')
|
||||
expect(stdout).to.contain('hello friend from oclif!')
|
||||
})
|
||||
})
|
||||
@@ -0,0 +1,9 @@
|
||||
import {runCommand} from '@oclif/test'
|
||||
import {expect} from 'chai'
|
||||
|
||||
describe('hello world', () => {
|
||||
it('runs hello world cmd', async () => {
|
||||
const {stdout} = await runCommand('hello world')
|
||||
expect(stdout).to.contain('hello world!')
|
||||
})
|
||||
})
|
||||
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"extends": "../tsconfig",
|
||||
"compilerOptions": {
|
||||
"noEmit": true
|
||||
},
|
||||
"references": [
|
||||
{"path": ".."}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user