{"id":22374888,"url":"https://github.com/qubitproducts/jest","last_synced_at":"2025-03-26T17:33:20.021Z","repository":{"id":37800979,"uuid":"360912060","full_name":"QubitProducts/jest","owner":"QubitProducts","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-19T05:21:36.000Z","size":2113,"stargazers_count":0,"open_issues_count":9,"forks_count":0,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-01-31T22:49:28.678Z","etag":null,"topics":["ceh","implement"],"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/QubitProducts.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":"2021-04-23T14:31:33.000Z","updated_at":"2023-06-02T12:06:56.000Z","dependencies_parsed_at":"2025-01-31T22:49:36.059Z","dependency_job_id":"a53d3731-4111-45dd-bf32-495c0a9a87f0","html_url":"https://github.com/QubitProducts/jest","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fjest","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fjest/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fjest/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QubitProducts%2Fjest/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QubitProducts","download_url":"https://codeload.github.com/QubitProducts/jest/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245702461,"owners_count":20658620,"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":["ceh","implement"],"created_at":"2024-12-04T21:18:51.892Z","updated_at":"2025-03-26T17:33:19.986Z","avatar_url":"https://github.com/QubitProducts.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @qubit/jest\n\nA jest transform to facilitate testing clientside implementations within the qubit platform\n\n## Q4M usage\n\n1. Install with `npm install --save-dev @qubit/jest jest@^26`\n2. Add this to your package.json\n\n```\n  \"scripts\": {\n    \"test\": \"jest --coverage\"\n  },\n  \"jest\": {\n    \"transform\": {\n      \".*(.js|.css|.less)$\": \"@qubit/jest\"\n    },\n    \"transformIgnorePatterns\": []\n  }\n```\n\n3. Create a `placement.test.js` file\n   You can import the setup tools with `const setup = require('@qubit/jest/setup')`\n4. Run your test suite with `npm test`\n\n## Q4CX usage\n\n1. Install with `npm install --save-dev @qubit/jest jest@^26`\n2. Add this to your package.json\n\n```\n  \"scripts\": {\n    \"test\": \"jest --coverage\"\n  },\n  \"jest\": {\n    \"transform\": {\n      \".*(.js|.css|.less)$\": \"@qubit/jest\"\n    },\n    \"transformIgnorePatterns\": []\n  }\n```\n\n3. Create a `triggers.test.js`, `variation-1234.test.js` file\n   You can import the setup tools with `const setup = require('@qubit/jest/setup/experience')`\n4. Run your test suite with `npm test`\n\n## example\n\nSee [test/placement](test/placement) for an example q4m test suite and [test/experience](test/experience) for an example q4cx test suite\n\n\u003cimg width=\"535\" alt=\"Screenshot 2021-04-23 at 16 05 41\" src=\"https://user-images.githubusercontent.com/640611/115893640-5aa47b80-a450-11eb-83dc-3c7e3722c4c2.png\"\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubitproducts%2Fjest","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqubitproducts%2Fjest","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqubitproducts%2Fjest/lists"}