jest-run-it
jest-run-it copied to clipboard
fix: fix incorrect parsing options when options with quote
Currently when I set jestRunIt.environmentVariables
, Jest run it will parsing it and pass to VSCode. But in some case, such as environmentVariables
has quotes, convertEnvVariablesToObj
split environmentVariables
with empty space ' '
simply will incorrect split two variables.
Incorrect Case
{
"jestRunIt.environmentVariables": "NODE_OPTIONS=\"--experimental-vm-modules --no-warnings\""
}

Causing start debug command failed:

Fixing Result
