Move splitParent from string.ts into tests folder
#3989
Merged
splitParent from string.ts into tests folder
#3989