diff --git a/package.json b/package.json index f0c1fc9e8944d..83699950acf6a 100644 --- a/package.json +++ b/package.json @@ -35,8 +35,8 @@ "eslint": "1.10.3", "eslint-plugin-react": "4.1.0", "eslint-plugin-react-internal": "file:eslint-rules", - "fbjs": "^0.6.1", - "fbjs-scripts": "0.6.0-alpha.2", + "fbjs": "^0.8.0-alpha.2", + "fbjs-scripts": "^0.6.0-alpha.3", "glob": "^6.0.1", "grunt": "^0.4.5", "grunt-cli": "^0.1.13", diff --git a/packages/react/package.json b/packages/react/package.json index 2cf2df93e4ea1..8ab5518eb5054 100644 --- a/packages/react/package.json +++ b/packages/react/package.json @@ -24,7 +24,7 @@ }, "dependencies": { "envify": "^3.0.0", - "fbjs": "^0.6.1" + "fbjs": "^0.8.0-alpha.2" }, "browserify": { "transform": [ diff --git a/src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js b/src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js index bc2fbc6563556..d53191e389439 100644 --- a/src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js +++ b/src/renderers/dom/shared/__tests__/ReactDOMComponent-test.js @@ -198,16 +198,10 @@ describe('ReactDOMComponent', function() { ReactDOM.render(, div); ReactDOM.render(, div); - expect(console.error.argsForCall.length).toBe(2); + expect(console.error.argsForCall.length).toBe(1); expect(console.error.argsForCall[0][0]).toEqual( 'Warning: `NaN` is an invalid value for the `fontSize` css style property', ); - expect(console.error.argsForCall[1][0]).toEqual( - 'Warning: `span` was passed a style object that has previously been ' + - 'mutated. Mutating `style` is deprecated. Consider cloning it ' + - 'beforehand. Check the `render` using . Previous style: ' + - '{fontSize: NaN}. Mutated style: {fontSize: NaN}.' - ); }); it('should update styles if initially null', function() {