{"id":17044225,"url":"https://github.com/cburgmer/slow-promise","last_synced_at":"2026-04-14T01:30:54.348Z","repository":{"id":136373230,"uuid":"179889831","full_name":"cburgmer/slow-promise","owner":"cburgmer","description":"Slow down your promises","archived":false,"fork":false,"pushed_at":"2019-04-23T22:07:41.000Z","size":83,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-23T02:28:51.736Z","etag":null,"topics":["promises","testing"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cburgmer.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":"2019-04-06T21:43:11.000Z","updated_at":"2019-12-07T15:12:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"fd65d9bd-6502-49db-8517-19ce033a9d9f","html_url":"https://github.com/cburgmer/slow-promise","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cburgmer/slow-promise","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cburgmer%2Fslow-promise","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cburgmer%2Fslow-promise/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cburgmer%2Fslow-promise/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cburgmer%2Fslow-promise/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cburgmer","download_url":"https://codeload.github.com/cburgmer/slow-promise/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cburgmer%2Fslow-promise/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31778580,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T00:11:49.126Z","status":"ssl_error","status_checked_at":"2026-04-14T00:10:29.837Z","response_time":93,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: 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":["promises","testing"],"created_at":"2024-10-14T09:33:31.456Z","updated_at":"2026-04-14T01:30:54.330Z","avatar_url":"https://github.com/cburgmer.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# slow-promise\nSlow-Promise gives you ES6 promises in roughly 20 LOC and 900 bytes (not even minified).\n\nIts downsides are\n\n* it's slow,\n* it relies on another Promise implementation being present doing the hard work.\n\n## Example\n\nSlow-Promise surfacing a flaky test in Puppeteer: [./examples/puppeteer/](./examples/puppeteer/)\n\n## Why?\n\nThe author wants to make browser testing a better experience, most prominently\nmore stable. They believe that one reason tests via a browser tend to be fragile\nand flaky is because humans are generally bad at modelling asynchrony.\n\n*A hypothetical*\n\nAssume on a good day you write a new passing test, only to see it fail rather\nrandomly the following day. It just happened to be that your app felt\nsomewhat slow and unresponsive. Chances are you just sit through it and wait for\neverything to go faster again. Naturally your tests will be back to green.\n\nWhat if this happens again and again? Your team will get used to brittle test,\nand start re-running failing tests. Eventually this will become the norm.\n\nWhat if you could stop this process early on, and just surface those poorly\nwritten tests? Those which depend on your application being at its best!\nImagine you could slow down your app on every given day and force those out.\n\nSlow-Promise isn't good much, but it is good at that!\n\n## Howto\n\n    $ npm test\n    $ npm run dist\n    $ open test_integration.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcburgmer%2Fslow-promise","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcburgmer%2Fslow-promise","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcburgmer%2Fslow-promise/lists"}