Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixing lint #3070

Merged
merged 1 commit into from
Apr 7, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions __tests__/commands/install/integration.js
Original file line number Diff line number Diff line change
Expand Up @@ -161,15 +161,15 @@ test.concurrent("production mode with deduped dev dep shouldn't be removed", asy
test.concurrent("production mode dep on package in dev deps shouldn't be removed", async () => {
await runInstall({production: true}, 'install-prod-deduped-direct-dev-dep', async (config) => {
expect(
(await fs.readJson(path.join(config.cwd, 'node_modules', 'a', 'package.json'))).version
(await fs.readJson(path.join(config.cwd, 'node_modules', 'a', 'package.json'))).version,
).toEqual('1.0.0');

expect(
(await fs.readJson(path.join(config.cwd, 'node_modules', 'b', 'package.json'))).version
(await fs.readJson(path.join(config.cwd, 'node_modules', 'b', 'package.json'))).version,
).toEqual('1.0.0');

expect(
(await fs.readJson(path.join(config.cwd, 'node_modules', 'c', 'package.json'))).version
(await fs.readJson(path.join(config.cwd, 'node_modules', 'c', 'package.json'))).version,
).toEqual('1.0.0');
});
});
Expand Down