-
Notifications
You must be signed in to change notification settings - Fork 290
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
Upgrade React to 16 for dev & tests #547
Conversation
var clock, sandbox, requestAnimationFramePolyfillSpy; | ||
|
||
before(function () { | ||
clock = sinon.useFakeTimers(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since all tests share a sandbox I moved this down to the test which actually uses it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: clock is defined below in the actual test, so we don't need the declaration here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch, will do
Is there an update on this? |
var clock, sandbox, requestAnimationFramePolyfillSpy; | ||
|
||
before(function () { | ||
clock = sinon.useFakeTimers(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: clock is defined below in the actual test, so we don't need the declaration here.
Description
Upgrade React to React 16 in our dev & test envs. Also updated Sinon and switched to the default sandbox.
Motivation and Context
Want to start using React 16 more, so figured a start was to up our dev env.
How Has This Been Tested?
Tests & site-dev-server
Screenshots (if appropriate):
Types of changes
Checklist: