{"id":21944900,"url":"https://github.com/browserstack/karma-browserstack-example","last_synced_at":"2025-07-26T19:07:07.582Z","repository":{"id":66098330,"uuid":"43819536","full_name":"browserstack/karma-browserstack-example","owner":"browserstack","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-03T14:55:56.000Z","size":34,"stargazers_count":4,"open_issues_count":4,"forks_count":18,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-22T21:07:35.092Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/browserstack.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":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-10-07T14:01:41.000Z","updated_at":"2024-12-30T17:05:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"90ab2bbf-f4ca-4c3d-8e8b-e385355a794b","html_url":"https://github.com/browserstack/karma-browserstack-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/browserstack/karma-browserstack-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fkarma-browserstack-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fkarma-browserstack-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fkarma-browserstack-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fkarma-browserstack-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/browserstack","download_url":"https://codeload.github.com/browserstack/karma-browserstack-example/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/browserstack%2Fkarma-browserstack-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267213473,"owners_count":24053912,"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-07-26T02:00:08.937Z","response_time":62,"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-11-29T04:17:22.153Z","updated_at":"2025-07-26T19:07:07.570Z","avatar_url":"https://github.com/browserstack.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":" Karma-BrowserStack Example\n=========\n\nSample for using karma-browserstack-launcher to run Karma tests (QUnit framework) on BrowserStack infrastructure.\nOne test is failing on purpose as a demo of BrowserStack catching bugs in different browsers.\n\n### Prerequisites\nNode and npm\n\n### Clone this repository\n`git clone https://github.com/browserstack/karma-browserstack-example.git`\n\n### Install dependencies\n\nNavigate to appropriate directory for testing and then install the dependencies by running\n\n`npm install`\n\n### BrowserStack Configuration\n\nExport the environment variables for the username and access key of your BrowserStack account.\nThese can be found on the automate accounts page on [BrowserStack](https://www.browserstack.com/accounts/automate).\n\n`export BROWSERSTACK_USERNAME=\u003cbrowserstack-username\u003e`\n\n`export BROWSERSTACK_ACCESS_KEY=\u003cbrowserstack-access-key\u003e`\n\nYou can further customize configuration in karma.conf.js. For detailed reference, visit karma-browserstack-launcher github repository [here](https://github.com/browserstack/karma-browserstack-launcher).\n\n#### Run the tests\n\nExecute the following command to run the karma tests:\n\n`npm test`\n\n###Note\n- IE 6 and 7 Tests on Karma version 0.13 may fail(output - browser not captured).\n- Use Karmav0.12 or below and add `transports: ['websocket','jsonp-polling']` to the karma.conf.js file\n- Checkout [karma issue] for more details.\n\n[dashboard]:https://www.browserstack.com/automate\n[karma issue]:https://github.com/karma-runner/karma/issues/983\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Fkarma-browserstack-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrowserstack%2Fkarma-browserstack-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrowserstack%2Fkarma-browserstack-example/lists"}