-
-
Notifications
You must be signed in to change notification settings - Fork 193
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This reverts commit ef7038b6d873b4e6cb6dc245908648787530f27b.
- Loading branch information
1 parent
4b0bca0
commit ec232aa
Showing
3 changed files
with
23 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
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!') | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import {expect, test} from '@oclif/test' | ||
|
||
describe('hello world', () => { | ||
test | ||
.stdout() | ||
.command(['hello:world']) | ||
.it('runs hello world cmd', ctx => { | ||
expect(ctx.stdout).to.contain('hello world!') | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,7 @@ | |
"compilerOptions": { | ||
"noEmit": true | ||
}, | ||
"references": [ | ||
{"path": ".."} | ||
] | ||
} |