{"id":21193638,"url":"https://github.com/danielmschmidt/jest-environment-artillery","last_synced_at":"2025-07-09T09:33:28.206Z","repository":{"id":40313736,"uuid":"131565859","full_name":"DanielMSchmidt/jest-environment-artillery","owner":"DanielMSchmidt","description":"A jest environment for running load tests on your application.","archived":false,"fork":false,"pushed_at":"2025-06-21T23:57:26.000Z","size":216,"stargazers_count":3,"open_issues_count":29,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-22T00:27:52.907Z","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/DanielMSchmidt.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,"zenodo":null}},"created_at":"2018-04-30T07:07:39.000Z","updated_at":"2022-11-22T18:07:44.000Z","dependencies_parsed_at":"2025-06-14T21:19:18.372Z","dependency_job_id":"2e8dcf14-6117-431d-8adb-ab9d5198c769","html_url":"https://github.com/DanielMSchmidt/jest-environment-artillery","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/DanielMSchmidt/jest-environment-artillery","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fjest-environment-artillery","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fjest-environment-artillery/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fjest-environment-artillery/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fjest-environment-artillery/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanielMSchmidt","download_url":"https://codeload.github.com/DanielMSchmidt/jest-environment-artillery/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanielMSchmidt%2Fjest-environment-artillery/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264431343,"owners_count":23607226,"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-11-20T19:15:06.266Z","updated_at":"2025-07-09T09:33:28.169Z","avatar_url":"https://github.com/DanielMSchmidt.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jest-Environment-Artillery\n\nA jest environment for running load tests on your application.\n\n## Status\n\n* [x] Base Setup for developig a jest environment with typescript\n* [ ] Expose `artillery` wrapper\n* [ ] Expose expectation helpers\n* [ ] Write integration tests\n* [ ] Release version `0.1.0`\n\n## Installation\n\n* Make sure jest is set up properly\n* run `npm install --save-dev artillery jest-environment-artillery`\n* [Configure `jest-environment-artillery` as test environment](https://facebook.github.io/jest/docs/en/configuration.html#testenvironment-string)\n\n## Usage\n\n```js\ndescribe(\"MyService\", () =\u003e {\n  describe(\"Performance\", () =\u003e {\n    it(\"has a limit for latency\", async () =\u003e {\n      const testResult = await artillery({ target: \"https://artillery.io\" });\n      expect(testResult).toHaveMaxLatencyLowerThan(1000);\n      expect(testResult).toHaveMedianLatencyLowerThan(200);\n    });\n  });\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielmschmidt%2Fjest-environment-artillery","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanielmschmidt%2Fjest-environment-artillery","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanielmschmidt%2Fjest-environment-artillery/lists"}