test: fix parsing test flags
This does not replace _
with -
when parsing flags.
I believe that it was added for a certain purpose, but it doesn't seem to be needed anymore. Currently, the cli options are not passed as intended in the following cases:
// Flags: --diagnostic-dir=~/PATH_HAS_UNDERSCORES
NOTE: The test started as a child_process using these flags: [
'--diagnostic-dir=~/PATH-HAS-UNDERSCORES' <--
]
// Flags: --experimental-permission --allow-fs-read=~/PATH_HAS_UNDERSCORES
The test started as a child_process using these flags: [
'--experimental-permission',
'--allow-fs-read=~/PATH-HAS-UNDERSCORES' <--
]
Signed-off-by: Daeyeon Jeong daeyeon.dev@gmail.com