Add React support
See original GitHub issueUsers who write awesome React apps should be able to use Stryker to test their apps.
Todo list:
- Support mutating modern JS code (
stryker-javascript-mutator
plugin) - Support Babel projects (
stryker-babel-transpiler
plugin) - Don’t crash when users try to mutate JSX #545
- Support Webpack projects (@Archcry)
- Test React projects
Do you have a React app? Please let us know!
It would be awesome if it’s open source but that’s not a requirement.
Known users/setups: @CrazyBS: React, Redux, Babel, Karma, Mocha (#101) @SxMShaDoW create-react-app -> React, Babel, Jest (#133) @Venkat-18 React, Jest
The post above will be kept up-to-date and is subject to change!
Issue Analytics
- State:
- Created 6 years ago
- Reactions:7
- Comments:13 (9 by maintainers)
Top Results From Across the Web
Add React to a Website
In this section, we will show how to add a React component to an existing HTML page. You can follow along with your...
Read more >Create a New React App
Use an integrated toolchain for the best user and developer experience. This page describes a few popular React toolchains which help with tasks...
Read more >Add React to a Website - React Docs
This guide shows how to add some “sprinkles of interactivity” to an existing HTML page. Try this out with your own website or...
Read more >Getting Started - React
Whether you want to get a taste of React, add some interactivity to a simple ... React-powered app, the links in this section...
Read more >ReactDOM – React
React supports all modern browsers, although some polyfills are required for older versions. Note. We do not support older browsers that don't support...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
+Add CSS-modules loader support
I was able to run mutation tests on a combination of Typescript and React created using
create-react-app --scripts-version react-scripts-ts
. I didn’t need to eject it.I use
mutator: 'typescript'
and jest as test framework. I don’t use thetranspilers: ['webpack']
since that’s not required for the combination I use.Didn’t experience any problems with that setup.