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
{{ message }}
This repository was archived by the owner on Jul 29, 2025. It is now read-only.
It is a helper required for snapshot testing on windows. It can't be solved by editor configuration and the end line setting because snapshots are generated not created in the editor.
111
111
We need to remove `\r` from files transpiled on windows before we can match them with the snapshot generated on unix
112
112
*/
113
-
functionswitchToUnixLinebreaks(str: String){
113
+
functionswitchToUnixLinebreaks(str: string){
114
114
returnstr.replace(/\\r/g,"")
115
+
}
116
+
117
+
/*
118
+
The transpiler embeds the absolute path to the react library.
119
+
We need to replace this in snapshots with something that will be stable across developer environments.
0 commit comments