{"id":17963763,"url":"https://github.com/pablolion/jest-filter-test","last_synced_at":"2025-04-03T19:27:16.196Z","repository":{"id":128556304,"uuid":"504861823","full_name":"PabloLION/jest-filter-test","owner":"PabloLION","description":"temporary test for jest CLI --filter option","archived":false,"fork":false,"pushed_at":"2022-06-18T18:49:12.000Z","size":44,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T07:35:50.309Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PabloLION.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-18T14:13:07.000Z","updated_at":"2022-06-18T14:50:42.000Z","dependencies_parsed_at":"2023-08-22T02:18:52.230Z","dependency_job_id":null,"html_url":"https://github.com/PabloLION/jest-filter-test","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLION%2Fjest-filter-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLION%2Fjest-filter-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLION%2Fjest-filter-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PabloLION%2Fjest-filter-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PabloLION","download_url":"https://codeload.github.com/PabloLION/jest-filter-test/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247064240,"owners_count":20877572,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-29T11:45:05.568Z","updated_at":"2025-04-03T19:27:16.157Z","avatar_url":"https://github.com/PabloLION.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jest-filter-test\n\ntemporary test for jest CLI --filter option\ndeployed on [replit](https://replit.com/@PabloLION/jest-filter-test)\n\n## How\n\n`yarn \u0026\u0026 yarn test`\n\n## Why\n\nThe [documentation](https://jestjs.io/docs/cli#--filterfile) for `--filter` option for jest CLI was not working for me. I saw that this part of doc was edited in [facebook/jest#12260](https://github.com/facebook/jest/issues/12260). But when I set it up with a minimal working version hosted on [replit](https://repl.it/@PabloLION/jest-filter-test) with GitHub [repo](https://github.com/PabloLION/jest-filter-test), it didn't work. The error says:\n\n```plaintext\n  5 files checked.\n  testMatch: **/__tests__/**/*.[jt]s?(x), **/?(*.)+(spec|test).[tj]s?(x) - 2 matches\n  testPathIgnorePatterns: /node_modules/ - 5 matches\n  testRegex:  - 0 matches\n```\n\nI also tried to add a `writeFileSync(__dirname + '/testPaths.txt', testPaths.toString());` but it didn't work either.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablolion%2Fjest-filter-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpablolion%2Fjest-filter-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpablolion%2Fjest-filter-test/lists"}