{"id":13533446,"url":"https://github.com/lorcan/test-selectors-codemod","last_synced_at":"2025-10-14T17:06:55.591Z","repository":{"id":150361040,"uuid":"101436769","full_name":"lorcan/test-selectors-codemod","owner":"lorcan","description":"A codemode for fixing the ember-test-selectors testSelector helper deprecation","archived":false,"fork":false,"pushed_at":"2018-05-29T06:23:49.000Z","size":12,"stargazers_count":7,"open_issues_count":0,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T17:05:13.553Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lorcan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-08-25T19:42:26.000Z","updated_at":"2018-11-23T09:30:42.000Z","dependencies_parsed_at":"2023-07-27T10:00:21.602Z","dependency_job_id":null,"html_url":"https://github.com/lorcan/test-selectors-codemod","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lorcan/test-selectors-codemod","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorcan%2Ftest-selectors-codemod","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorcan%2Ftest-selectors-codemod/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorcan%2Ftest-selectors-codemod/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorcan%2Ftest-selectors-codemod/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lorcan","download_url":"https://codeload.github.com/lorcan/test-selectors-codemod/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lorcan%2Ftest-selectors-codemod/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279020085,"owners_count":26086805,"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","status":"online","status_checked_at":"2025-10-14T02:00:06.444Z","response_time":60,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-08-01T07:01:19.913Z","updated_at":"2025-10-14T17:06:55.555Z","avatar_url":"https://github.com/lorcan.png","language":"JavaScript","readme":"# test-selectors-codemod [![Build Status](https://travis-ci.org/lorcan/test-selectors-codemod.svg?branch=master)](https://travis-ci.org/lorcan/test-selectors-codemod)\n\nA codemode for fixing the ember-test-selectors testSelector helper deprecation.\n\nRecently the [ember-test-selectors](https://github.com/simplabs/ember-test-selectors/pull/134) addon deprecated the `testSelector` function in favour of encoding the selectors directly ([here](https://github.com/simplabs/ember-test-selectors/pull/134)). This codemod automatically addresses the deprecation by transforming your tests to do the replacement automatically.\n\n## Installation\n\n[jscodeshift](https://github.com/facebook/jscodeshift) is required to run this script. To run on your `./tests` directory:\n\n```\nnpm install -g jscodeshift\njscodeshift -t https://rawgit.com/lorcan/test-selectors-codemod/master/transforms/remove-test-selector-helper.js ./tests\n```\n\n## Development\n\nTo download and run the code locally:\n\n```\ngit clone https://github.com/lorcan/test-selectors-codemod\ncd test-selectors-codemod\nnpm install\n```\n\n## Run tests\n```\nnpm test\n```\n\n## Running the codemod\n```\njscodeshift -t transforms/remove-test-selector-helper.js \u003cpath.to.test.directory\u003e\n```\n","funding_links":[],"categories":["Packages","Frameworks"],"sub_categories":["Codemods","Ember.js"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Florcan%2Ftest-selectors-codemod","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Florcan%2Ftest-selectors-codemod","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Florcan%2Ftest-selectors-codemod/lists"}