Skip to content

Commit

Permalink
tests: Use a test bundle that actually has npm deps
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Van Camp committed Feb 7, 2016
1 parent ad95823 commit ec74884
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/commands/2_install.mspec.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ describe('install command', function () {

it('should install a bundle', function () {
this.timeout(40000);
program.runWith('install supportclass/lfg-filter');
assert.equal(fs.existsSync('./bundles/lfg-filter/package.json'), true);
program.runWith('install supportclass/lfg-streamtip');
assert.equal(fs.existsSync('./bundles/lfg-streamtip/package.json'), true);
});

it('should install npm dependencies', function () {
assert.equal(fs.existsSync('./bundles/lfg-filter/node_modules'), true);
assert.equal(fs.existsSync('./bundles/lfg-streamtip/node_modules'), true);
});

it('should install bower dependencies', function () {
assert.equal(fs.existsSync('./bundles/lfg-filter/bower_components'), true);
assert.equal(fs.existsSync('./bundles/lfg-streamtip/bower_components'), true);
});
});

0 comments on commit ec74884

Please sign in to comment.