Skip to content

Commit

Permalink
Improved test case and implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
kimjoar committed Dec 11, 2017
1 parent 70e5d5f commit 39bc4ee
Show file tree
Hide file tree
Showing 30 changed files with 962 additions and 2 deletions.
1 change: 1 addition & 0 deletions __tests__/commands/install/integration.js
Expand Up @@ -83,6 +83,7 @@ test.concurrent('installing with --ignore-optional should not install optional s
test.concurrent('installing with --ignore-optional should include all required dependencies', async () => {
await runInstall({ignoreOptional: true}, 'install-optional-dependencies-2', async (config): Promise<void> => {
expect(await fs.exists(`${config.cwd}/node_modules/wrappy`)).toEqual(true);
expect(await fs.exists(`${config.cwd}/node_modules/balanced-match`)).toEqual(true);
});
});

Expand Down
@@ -1,6 +1,7 @@
{
"dependencies": {
"bunyan": "^1.7.1",
"chokidar": "^1.7.0",
"once": "~1"
}
}

0 comments on commit 39bc4ee

Please sign in to comment.