{"id":20350011,"url":"https://github.com/webbestmaster/synced-delay","last_synced_at":"2026-01-06T02:37:13.972Z","repository":{"id":57689496,"uuid":"477839790","full_name":"webbestmaster/synced-delay","owner":"webbestmaster","description":"Bad method to \"pause\" process","archived":false,"fork":false,"pushed_at":"2024-07-06T14:33:54.000Z","size":159,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-08-08T20:55:43.266Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/webbestmaster.png","metadata":{"files":{"readme":"readme.autotest.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":"2022-04-04T19:13:34.000Z","updated_at":"2024-07-06T14:33:58.000Z","dependencies_parsed_at":"2024-05-18T15:23:19.286Z","dependency_job_id":"bdaa2bcd-c5d2-4655-b920-7ab6a6bfe1b6","html_url":"https://github.com/webbestmaster/synced-delay","commit_stats":{"total_commits":29,"total_committers":2,"mean_commits":14.5,"dds":"0.13793103448275867","last_synced_commit":"71898c03d776d8d73a2180ac09923f87669ca636"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webbestmaster%2Fsynced-delay","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webbestmaster%2Fsynced-delay/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webbestmaster%2Fsynced-delay/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/webbestmaster%2Fsynced-delay/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/webbestmaster","download_url":"https://codeload.github.com/webbestmaster/synced-delay/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224701461,"owners_count":17355360,"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-14T22:28:33.037Z","updated_at":"2026-01-06T02:37:13.916Z","avatar_url":"https://github.com/webbestmaster.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"### Autotests\n\n#### End-to-End test: jest + puppeteer\n\nRequired libraries:\n1. jest\n2. ts-jest\n3. @types/jest\n\n4. puppeteer\n5. @types/puppeteer\n\nRunning example:\n```bash\n$ jest ./test-e2e/ [--runInBand]\n```\n\n`--runInBand` - run tests sequentially\n\n\n#### Unit test: jest + react-*\n\nRequired libraries:\n1. jest\n2. ts-jest\n3. @types/jest\n\n4. @testing-library/react\n5. @testing-library/jest-dom\n\n6*. use https://mswjs.io/ to make http request\n\n7*. use https://github.com/testing-library/react-hooks-testing-library to test react hooks\n\nJest config `./jest.config.js`\n```javascript\n// eslint-disable-next-line unicorn/prefer-module\nmodule.exports = {\n    globals: {\n        'ts-jest': {\n            tsconfig: './tsconfig.test.json',\n        },\n    },\n    modulePathIgnorePatterns: ['\u003crootDir\u003e/tsc-check/'],\n    preset: 'ts-jest',\n    setupFilesAfterEnv: ['./test-unit/setup-jest.ts'],\n    testEnvironment: 'jsdom', // @testing-library/jest-dom\n    testTimeout: 10e3,\n};\n```\n\nRunning example:\n```bash\n$ jest ./test-unit/ --coverage\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebbestmaster%2Fsynced-delay","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebbestmaster%2Fsynced-delay","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebbestmaster%2Fsynced-delay/lists"}