Skip to content

Add additional check in Jest config

Illya Klymov requested to merge improve-jest-config into master

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

Merge request reports