Skip to content

Commit

Permalink
Add integration test for traverse-dependencies command.
Browse files Browse the repository at this point in the history
  • Loading branch information
cliffano committed Nov 10, 2014
1 parent 3d9f8b1 commit fc0dfe5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions test-integration/traverse.yml
@@ -0,0 +1,16 @@
# can't 'npm install pkjutil' since it will find ancestor package.json above .bob
# need to copy package.json to test directory and 'npm install' it from there
- fixtures:
- package.json

- params:
pkjutil: ../../../../../bin/pkjutil

- description: Install dependencies to traverse
command: 'npm install .'
exitcode: 0

- description: Command traverse-dependencies should display dependencies list
command: '{pkjutil} traverse-dependencies'
exitcode: 0
output: '^\* pkjutil@.+'

0 comments on commit fc0dfe5

Please sign in to comment.