Hey there, I believe there’s an easier way.
Here’s how we ignore folders/files from the circle ci command line:
TESTFILES=$(circleci tests glob "tests/**/*.test.ts" "tests/**/*.test.js" | sed '/folder\/subfolder/d' | sed '/folder\/file\.ts/d' | circleci tests split --split-by=timings)
yarn test $TESTFILES --ci --reporters=default --reporters=jest-junit
What do you think?