Пытаюсь запустить тесты, скрипт пишет что No tests found, но при этом вроде как 58 тестов находятся:
$ yarn unit
yarn run v1.16.0
$ cross-env yarn unit:watch --coverage --watchAll=false '.*Service.js'
$ react-scripts test --env=jsdom --testMatch '**/?(*.)test.[tj]s?(x)' --coverage --watchAll=false '.*Service.js'
No tests found, exiting with code 1
Run with `--passWithNoTests` to exit with code 0
In /home/...
229 files checked.
testMatch: **/?(*.)test.[tj]s?(x) - 58 matches
testPathIgnorePatterns: /node_modules/ - 229 matches
testRegex: - 0 matches
Pattern: .*Service.js - 0 matches
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.