I\'ve tried to run test script yarn test of react router but got this error:
yarn test
Error: Can\'t find a root directory while resolving a config file path.