[code-infra] Changes for test util to work in vitest
#43625
Merged
Loading
vitest
#43625