@samitouri / QOS-React / commits / a98e2cb8b1

prop-types(tests,code-style): fix missing semicolon, unexpected spaces and trailing comma

Raito Bezarius committed Apr 5, 2016 at 22:01 UTC a98e2cb8b156abb7298df6ef2c3d46564f22ef7f
1 file changed +4 -4
src/isomorphic/classic/types/__tests__/ReactPropTypes-test.js
+4 -4
@@ -808,14 +808,14 @@ describe('ReactPropTypes', function() {
808 );
809 typeCheckFail(
810 PropTypes.symbol,
811 - function () { },
811 + function() { },
812 'Invalid prop `testProp` of type `function` supplied to ' +
813 '`testComponent`, expected `symbol`.'
814 );
815 typeCheckFail(
816 PropTypes.symbol,
817 {
818 - '@@toStringTag': 'Katana'
818 + '@@toStringTag': 'Katana',
819 },
820 'Invalid prop `testProp` of type `object` supplied to ' +
821 '`testComponent`, expected `symbol`.'
@@ -826,8 +826,8 @@ describe('ReactPropTypes', function() {
826 var ES6Symbol = require('es6-symbol/polyfill');
827 var CoreSymbol = require('core-js/library/es6/symbol');
828
829 - typeCheckPass(PropTypes.symbol, ES6Symbol('es6-symbol'))
830 - typeCheckPass(PropTypes.symbol, CoreSymbol('core-js'))
829 + typeCheckPass(PropTypes.symbol, ES6Symbol('es6-symbol'));
830 + typeCheckPass(PropTypes.symbol, CoreSymbol('core-js'));
831 });
832 });
833