{"id":15383146,"url":"https://github.com/jhildenbiddle/ci-test","last_synced_at":"2026-04-15T08:39:19.075Z","repository":{"id":66334256,"uuid":"94954415","full_name":"jhildenbiddle/ci-test","owner":"jhildenbiddle","description":"A collection of boilerplate code for evaluating JavaScript testing frameworks and utilities","archived":false,"fork":false,"pushed_at":"2017-12-31T18:59:22.000Z","size":123,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-27T22:43:13.001Z","etag":null,"topics":["chai","codecov","javascript","jest","karma","mocha","saucelabs","testcafe","testing","travis-ci"],"latest_commit_sha":null,"homepage":"","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/jhildenbiddle.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-06-21T02:27:23.000Z","updated_at":"2017-06-27T20:49:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"dbf80569-0967-46af-af86-310ee7f92401","html_url":"https://github.com/jhildenbiddle/ci-test","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":"0.24137931034482762","last_synced_commit":"b544e7c44b4e14c01819f22e26ae16cdad67b88f"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jhildenbiddle/ci-test","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhildenbiddle%2Fci-test","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhildenbiddle%2Fci-test/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhildenbiddle%2Fci-test/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhildenbiddle%2Fci-test/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jhildenbiddle","download_url":"https://codeload.github.com/jhildenbiddle/ci-test/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jhildenbiddle%2Fci-test/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31833836,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-15T07:17:56.427Z","status":"ssl_error","status_checked_at":"2026-04-15T07:17:30.007Z","response_time":63,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["chai","codecov","javascript","jest","karma","mocha","saucelabs","testcafe","testing","travis-ci"],"created_at":"2024-10-01T14:35:31.710Z","updated_at":"2026-04-15T08:39:19.026Z","avatar_url":"https://github.com/jhildenbiddle.png","language":"JavaScript","readme":"# ci-test\n\n[![Build Status](https://img.shields.io/travis/jhildenbiddle/ci-test.svg?style=flat-square)](https://travis-ci.org/jhildenbiddle/ci-test)\n[![Codecov](https://img.shields.io/codecov/c/github/jhildenbiddle/ci-test.svg?style=flat-square)](https://codecov.io/gh/jhildenbiddle/ci-test)\n[![Codacy grade](https://img.shields.io/codacy/grade/ec212742ff4d4af19a959cae2018565b.svg?style=flat-square)](https://www.codacy.com/app/jhildenbiddle/ci-test?utm_source=github.com\u0026amp;utm_medium=referral\u0026amp;utm_content=jhildenbiddle/ci-test\u0026amp;utm_campaign=Badge_Grade)\n[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg?style=flat-square)](https://opensource.org/licenses/MIT)\n\nSample code used for evaluating JavaScript testing frameworks:\n\n- [Jest](https://facebook.github.io/jest/)\n- [Karma](https://karma-runner.github.io) + [Mocha](https://mochajs.org/) + [Chai](http://chaijs.com/) + [Istanbul](https://istanbul.js.org/)\n- [TestCafé](http://devexpress.github.io/testcafe/)\n\n## Goals\n\n1. A consistent baseline configuration for each framework:\n\n   - A modern JavaScript environment (ES6+ via [Babel](http://babeljs.io/))\n   - Local browser testing\n   - Remote browser testing ([SauceLabs](https://saucelabs.com/))\n   - Test fixtures (HTML, JSON, etc.)\n   - Code coverage ([Istanbul](https://istanbul.js.org/))\n   - Code linting ([ESLint](http://eslint.org/))\n\n2. Integration with common test-related services:\n\n   - Continuous Integration using [Travis CI](https://travis-ci.org/)\n   - Code coverage history and statistics using [Codecov](https://codecov.io/)\n   - Code quality history and statistics using [Codacy](https://codacy.com/)\n\n## Quickstart\n\n```shell\n# Clone repo\ngit clone https://github.com/jhildenbiddle/ci-test.git\n\n# Change to cloned repo directory\ncd ci-test\n\n# Install dependencies\nnpm install\n\n# Run local tests\nnpm run test:cafe\nnpm run test:jest\nnpm run test:karma\nnpm run test:karma-debug\n\n# Run remote tests (see \"Notes\" below)\nnpm run test:cafe-remote\nnpm run test:karma-remote\n```\n\n## Notes\n\n1. **Node 8 (or 7.6 + polyfill) required**\n\n   The sample code uses JavaScript's new [async](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/async_function) / [await](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/await) feature which requires Node 7.6 or above. The code also makes use of the [util.promisify()](https://nodejs.org/api/util.html#util_util_promisify_original) utility function introduced in Node 8.x, but a [polyfill is available](https://github.com/ljharb/util.promisify) for older versions.\n\n1. **Install Chrome 59+ for \"headless\" browser testing**\n\n   Local tests are configured to use Chrome in \"headless\" mode by default. This requires Chrome 59 or above. If you do not have Chrome 59 (or above) installed or prefer to test with different browers, the settings for each test framework will need to be updated:\n\n   - **Jest**: No browers to specify (test are executed using [jsdom](https://github.com/tmpvar/jsdom))\n   - **Karma**: edit `karma.conf.js` and install the appropriate [karma launchers](https://www.npmjs.com/search?q=karma+launcher)\n   - **TestCafé**: edit `package.json` and specify browsers via command line args\n\n1. **Set SauceLabs username and access key for remote testing**\n\n    These can be set as environment variables (see [SauceLabs wiki](https://wiki.saucelabs.com/display/DOCS/Best+Practice%3A+Use+Environment+Variables+for+Authentication+Credentials) for details) or in `saucelabs.config.js`.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhildenbiddle%2Fci-test","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjhildenbiddle%2Fci-test","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjhildenbiddle%2Fci-test/lists"}