Skip to content

Commit

Permalink
clarify how to import CliTest
Browse files Browse the repository at this point in the history
It's not on global.
  • Loading branch information
stevemao committed Sep 25, 2016
1 parent 667336a commit 4c78ad1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Expand Up @@ -30,6 +30,8 @@ $ npm i command-line-test --save-dev
`fork`, `spawn`, `exec`, `execFile` supported.

```javascript
const CliTest = require('command-line-test');

describe('test', function() {
it('constructor should be ok', function() {
CliTest.should.be.ok();
Expand Down

0 comments on commit 4c78ad1

Please sign in to comment.