You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While starting to work on renaming the className option in the library API I discovered that this option is not really tested. In short, the following possible code mutation would not trigger any test failures:
diff --git a/lib/normalized-options.js b/lib/normalized-options.js
index 82c48db..f90b946 100644
--- a/lib/normalized-options.js+++ b/lib/normalized-options.js@@ -31,7 +31,7 @@ module.exports = (options) => {
moduleName
? {}
: { moduleName: `${modulePrefix}-${paramCase(name)}` },
- className+ false
? {}
: { className: `${prefix}${pascalCase(name)}` },
// namespace - library API member removed since Windows platform
This possible mutation seems to be missed by Stryker Mutator.
While starting to work on renaming the
className
option in the library API I discovered that this option is not really tested. In short, the following possible code mutation would not trigger any test failures:This possible mutation seems to be missed by Stryker Mutator.
P.S. Here is the report on Stryker dashboard which shows where this possible mutation was missed: https://dashboard.stryker-mutator.io/reports/github.com/brodybits/create-react-native-module/master#lib/normalized-options.js
The text was updated successfully, but these errors were encountered: