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 finishing some work I discovered that when using Jest snapshots, it misses the difference between using \r\n and \n. This could be an issue when using something like simple-xml-writer, which seems to use \r\n for line breaks. I discovered this on Jest 25.
Related is that Stryker Mutator should be able to pick this kind of thing up, but as of Stryker Mutator 3.0.2 it does not seem to mutate regex such as /\r\n\/g which could be used in a JavaScript string replace function call.
I hope to find a way to get these resolved someday soon.
The text was updated successfully, but these errors were encountered:
While finishing some work I discovered that when using Jest snapshots, it misses the difference between using
\r\n
and\n
. This could be an issue when using something likesimple-xml-writer
, which seems to use\r\n
for line breaks. I discovered this on Jest 25.Related is that Stryker Mutator should be able to pick this kind of thing up, but as of Stryker Mutator 3.0.2 it does not seem to mutate regex such as
/\r\n\/g
which could be used in a JavaScript string replace function call.I hope to find a way to get these resolved someday soon.
The text was updated successfully, but these errors were encountered: