christianalfoni / react-app-boilerplate

React application boilerplate
303 stars 80 forks source link

Lots of warnings on `gulp test` #4

Open fatso83 opened 9 years ago

fatso83 commented 9 years ago

After running gulp test I am getting a ton of warnings. Should perhaps be removed to not give the impression of pushing deprecated coding standards, etc?

Warning: Something is calling a React component directly. Use a factory or JSX instead. See: http://fb.me/react-legacyfactory
Warning: React.renderComponent will be deprecated in a future version. Use React.render instead.
Jasmine ran in  0.008  seconds
1 spec, 0 failures
Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///Users/carl-erik/myproj/node_modules/gulp-jasmine2-phantomjs/jasmine2-runner.js. Domains, protocols and ports must match.

Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///Users/carl-erik/myproj/node_modules/gulp-jasmine2-phantomjs/jasmine2-runner.js. Domains, protocols and ports must match.

Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///Users/carl-erik/myproj/node_modules/gulp-jasmine2-phantomjs/jasmine2-runner.js. Domains, protocols and ports must match.

Unsafe JavaScript attempt to access frame with URL about:blank from frame with URL file:///Users/carl-erik/myproj/node_modules/gulp-jasmine2-phantomjs/jasmine2-runner.js. Domains, protocols and ports must match.
fatso83 commented 9 years ago

One can see more deprecation warnings if substituting reactify with babelify, such as the @jsx pragma directives having been removed.

christianalfoni commented 9 years ago

Yeah, this is really annoying. I did identify the source of the problem and notified the author, https://github.com/sandermak/jasmine2-junit/issues/4. Maybe you could comment on it, put some pressure on it? I am not sure how to fix it :-/

But it should not affect the tests.