SunCommander
May 8, 2021

Thanks Allen.

Jest doesnt expose any direct API to get list of test files that needs to be executed. One thing you can do is first use `jest-changed-files` package, which jest uses internally, to get changed files and then divided those files according to the number of CI severs you have and pass the files in `--findRelatedTests` jest option/

SunCommander
SunCommander

Written by SunCommander

I’m in love with my dreams, married to success and having an affair with life…✌✌✌

No responses yet