@samitouri / QOS-React-2 / commits / 39ef609e7c

Update test to fix CI

Andrew Clark committed May 10, 2019 at 11:12 UTC 39ef609e7cc251f2141dc9de8ae7102413f24422
1 file changed +1 -1
packages/shared/__tests__/ReactDOMFrameScheduling-test.js
+1 -1
@@ -35,7 +35,7 @@ describe('ReactDOMFrameScheduling', () => {
35 };
36 spyOnDevAndProd(console, 'error');
37 require('react-dom');
38 - expect(console.error.calls.count()).toEqual(1);
38 + expect(console.error.calls.count()).toEqual(2);
39 expect(console.error.calls.argsFor(0)[0]).toMatch(
40 "This browser doesn't support requestAnimationFrame.",
41 );