Add additional check in Jest config
What does this MR do?
Several environments (like vscode-jest
and wallaby
) run Jest in specific way, when module.parent
is defined, but module.parent.filename
is null
This MR just guards our check to handle this situation
Conformity
Edited by Illya Klymov