{"id":21301727,"url":"https://github.com/funbox/frontend-tests-runner","last_synced_at":"2026-03-12T14:17:55.974Z","repository":{"id":42691567,"uuid":"307336064","full_name":"funbox/frontend-tests-runner","owner":"funbox","description":"A library for running Mocha tests in parallel","archived":false,"fork":false,"pushed_at":"2023-07-19T00:08:28.000Z","size":315,"stargazers_count":6,"open_issues_count":1,"forks_count":1,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-07-11T20:41:41.370Z","etag":null,"topics":["e2e-tests","mocha"],"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/funbox.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2020-10-26T10:28:38.000Z","updated_at":"2023-04-18T21:45:14.000Z","dependencies_parsed_at":"2024-12-15T17:02:02.433Z","dependency_job_id":"aeaaff45-da23-4cf0-9272-e185a71fb2b3","html_url":"https://github.com/funbox/frontend-tests-runner","commit_stats":{"total_commits":78,"total_committers":19,"mean_commits":4.105263157894737,"dds":0.7435897435897436,"last_synced_commit":"b730979c159b2a610b222c1b1d1a063c937b3cb6"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/funbox/frontend-tests-runner","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbox%2Ffrontend-tests-runner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbox%2Ffrontend-tests-runner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbox%2Ffrontend-tests-runner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbox%2Ffrontend-tests-runner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/funbox","download_url":"https://codeload.github.com/funbox/frontend-tests-runner/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/funbox%2Ffrontend-tests-runner/sbom","scorecard":{"id":413726,"data":{"date":"2025-08-11","repo":{"name":"github.com/funbox/frontend-tests-runner","commit":"c7135f83b1480ed91f98c0ba792e7a149a80b799"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":2,"reason":"Found 2/7 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Pinned-Dependencies","score":2,"reason":"dependency not pinned by hash detected -- score normalized to 2","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/funbox/frontend-tests-runner/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/node.js.yml:24: update your workflow using https://app.stepsecurity.io/secureworkflow/funbox/frontend-tests-runner/node.js.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:15: update your workflow using https://app.stepsecurity.io/secureworkflow/funbox/frontend-tests-runner/publish.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/publish.yml:16: update your workflow using https://app.stepsecurity.io/secureworkflow/funbox/frontend-tests-runner/publish.yml/master?enable=pin","Warn: npmCommand not pinned by hash: .github/workflows/node.js.yml:31","Info:   0 out of   4 GitHub-owned GitHubAction dependencies pinned","Info:   2 out of   3 npmCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/node.js.yml:1","Warn: no topLevel permission defined: .github/workflows/publish.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 30 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Vulnerabilities","score":0,"reason":"19 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-968p-4wvh-cqc8","Warn: Project is vulnerable to: GHSA-v6h2-p8h4-qcjw","Warn: Project is vulnerable to: GHSA-grv7-fg5c-xmjg","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-3xgq-45jj-v275","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-952p-6rrq-rcjv","Warn: Project is vulnerable to: GHSA-mwcw-c2x4-8c55","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-c2qf-rxjj-qqgw","Warn: Project is vulnerable to: GHSA-76p7-773f-r4q5","Warn: Project is vulnerable to: GHSA-4vvj-4cpr-p986","Warn: Project is vulnerable to: GHSA-j8xg-fqg3-53r7"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-18T23:18:04.552Z","repository_id":42691567,"created_at":"2025-08-18T23:18:04.552Z","updated_at":"2025-08-18T23:18:04.552Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30428023,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-12T14:00:25.264Z","status":"ssl_error","status_checked_at":"2026-03-12T13:59:52.690Z","response_time":114,"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":["e2e-tests","mocha"],"created_at":"2024-11-21T15:50:34.232Z","updated_at":"2026-03-12T14:17:55.938Z","avatar_url":"https://github.com/funbox.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @funboxteam/frontend-tests-runner\n\n[![npm](https://img.shields.io/npm/v/@funboxteam/frontend-tests-runner.svg)](https://www.npmjs.com/package/@funboxteam/frontend-tests-runner)\n\nA library for running Mocha tests in parallel and watching files changes in live mode.\n\n[По-русски](./README.ru.md)\n\n## Installation\n\n```bash\nnpm install --save-dev @funboxteam/frontend-tests-runner\n```\n\n## Usage\n\nExample of usage:\n\n```javascript\nconst config = {\n  parallelTestsCount: 2,\n  testFiles: './src/tests/e2e/*.js',\n  project: {\n    build() {\n      // Build project function. Must return Promise.\n    },\n    addListener(event) {\n      // Even subscription function. There're two possible events\n      //   buildStart — the project building has started;\n      //   buildFinish — the project building has finished;\n      // Helpful for live testing.\n    }\n  }\n};\n\nconst Runner = require('@funboxteam/frontend-tests-runner');\nconst runner = new Runner(config);\nrunner.start();\n```\n\nFor more check [examples](./examples) directory.\n\n### Configuration\n\nExample of all configuration options and their defaults:\n\n```javascript\nmodule.exports = {\n  // A number of files with tests running in parallel.\n  // Optional.\n  parallelTestsCount: 1,\n\n  // Run tests in live mode (enabling watching for files changes).\n  // Optional.\n  live: false,\n\n  // Write logs for each test file separately.\n  // Optional.\n  separatedLogs: false,\n\n  // Directory name for `separatedLogs`.\n  // Optional.\n  logDir: 'test-logs',\n\n  // Glob with tests files, for exampe: `tests/\\*.js`.\n  // Required.\n  testFiles: undefined,\n\n  // Return test files for run. Function can be async.\n  // Optional.\n  filterTestsFiles: (files, isFilteredByOnly) =\u003e {\n    // e.g.:\n    // if (isFilteredByOnly) return files;\n\n    // const testsFilesDependencies = getTestsFilesDependencies(files);\n    // const changedFiles = getChangedFiles();\n\n    // return getAffectedTestsFiles(testsFilesDependencies, changedFiles);\n  },\n\n  project: {\n    build() {\n      // Build project function. Must return Promise.\n    },\n    addListener(event) {\n      // Event subscription function. There're two possible events:\n      //   buildStart — the project building has started;\n      //   buildFinish — the project building has finished.\n      // Helpful for live testing.\n    }\n  },\n\n  // Mocha config https://mochajs.org/#command-line-usage.\n  // Optional.\n  mocha: {\n    // Test timeout threshold (in milliseconds).\n    // https://mochajs.org/#-timeout-ms-t-ms\n    // Optional.\n    timeout: 30000,\n\n    // Retry failed tests this many times.\n    // https://mochajs.org/#-retries-n\n    // Optional.\n    retries: 0,\n\n    // Disable color output.\n    // https://mochajs.org/#-color-c-colors\n    // Optional.\n    noColors: false,\n\n    // Additional args object for Mocha.\n    // Optional.\n    args: {\n      // e.g.:\n      // '--full-trace': 'true',\n      // '--require': [\n      //   '@babel/register',\n      //   'babel-polyfill',\n      // ],\n    },\n  },\n}\n```\n\n[![Sponsored by FunBox](https://funbox.ru/badges/sponsored_by_funbox_centered.svg)](https://funbox.ru)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunbox%2Ffrontend-tests-runner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffunbox%2Ffrontend-tests-runner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffunbox%2Ffrontend-tests-runner/lists"}