Depending on your Git checkout settings, these tests could fail (because EOL on Windows could be \r\n but the file could've been checked out using \n, so the split would not split anything). This uses the EOL setting from the editor (which VS Code auto-detects) instead.
It also makes the tests run in a temp profile so that they are not affected by any settings of your own local VS Code install (nor will they make any modifications to the configuration of your main profile).
Depending on your Git checkout settings, these tests could fail (because
EOL
on Windows could be\r\n
but the file could've been checked out using\n
, so the split would not split anything). This uses the EOL setting from the editor (which VS Code auto-detects) instead.It also makes the tests run in a temp profile so that they are not affected by any settings of your own local VS Code install (nor will they make any modifications to the configuration of your main profile).