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

Fix: unbreak master #5672

Merged
merged 4 commits into from
Feb 26, 2018
Merged
Show file tree
Hide file tree
Changes from 2 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 .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
aliases:
- &restore-cache
keys:
- dependencies-{{ .Branch }}-{{ checksum "package.json" }}
- v1-dependencies-{{ .Branch }}-{{ "yarn.lock" }}
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm now using yarn.lock as a cache key, as it's more adequate in this case.

# Fallback in case checksum fails
- dependencies-{{ .Branch }}-
- v1-dependencies-{{ .Branch }}-

- &save-cache
paths:
- node_modules
- website/node_modules
key: dependencies-{{ .Branch }}-{{ checksum "package.json" }}
key: v1-dependencies-{{ .Branch }}-{{ "yarn.lock" }}

- &yarn-install
run: |
Expand Down
5 changes: 4 additions & 1 deletion packages/jest-editor-support/src/__tests__/settings.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,10 @@ describe('Settings', () => {
stdout: new EventEmitter(),
});
const spawnOptions = {shell: true};
const options: any = Object.assign({}, createProcess, spawnOptions);
const options: any = {
createProcess,
...spawnOptions,
};
const settings = new Settings(workspace, options);
settings.getConfig(() => {});

Expand Down