Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Stop using object-rest-spread
Browse files Browse the repository at this point in the history
I believe this is causing build failures atm for node <= 5.
  • Loading branch information
trotzig committed Jan 4, 2017
1 parent 20eb9f5 commit 270d66c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/server/__tests__/runVisualDiffs-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe('runVisualDiffs', () => {
});

beforeEach(() => {
originalConfig = { ...config };
originalConfig = Object.assign({}, config);
checkBrowserVersion.mockImplementation(() => Promise.resolve());
});

Expand Down

1 comment on commit 270d66c

@lencioni
Copy link
Contributor

Choose a reason for hiding this comment

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

It might be nicer to add this transform instead. https://babeljs.io/docs/plugins/transform-object-rest-spread/

Please sign in to comment.