#542·craco

"craco test --coverage --runInBand" - RangeError: Maximum call stack size exceeded

Author: dineshsdk85Created Aug 2, 2024Updated Aug 2, 2024
Labelsbug

Hello Team:

I'm facing below error

Failed to collect coverage from "" RangeError: Maximum call stack size exceeded

It should generate coverage report without any issues. If i reduce number of test cases to run, able to generate coverage report properly.

I used below command to run all the test suites craco test --silent --watchAll=false --runInBand --coverage

It started to run 923 test suites

CRACO version 7.1.0

CRACO config

package.json

jsonc
// paste your package.json (or at least your project dependencies) here

Additional information (anything else that could be useful for us to help you solve your problem)