[minor bugfix] fix minor bug with handleReset in suspense fixture (#13843)

* fix minor bug with handleReset in suspense fixture

otherwise resetting the cache in debugger throws an error 

reported here
https://www.reddit.com/r/reactjs/comments/9n9nfo/react_166_canary/

* fix singlequote/doublequote

* switch to performance.now()
This commit is contained in:
shawn wang
2018-10-21 13:16:44 -05:00
committed by Nathan Hunzaker
parent 420001cb4e
commit 7ebd90c2c3
@@ -65,7 +65,7 @@ class Debugger extends PureComponent {
}
handleReset = () => {
trace('Clear cache', () => {
trace('Clear cache', performance.now(), () => {
cache.invalidate();
this.setState(state => ({
requests: {},