{"id":29926531,"url":"https://github.com/ecomfe/san-test-utils","last_synced_at":"2025-08-02T12:41:52.212Z","repository":{"id":38172552,"uuid":"262020201","full_name":"ecomfe/san-test-utils","owner":"ecomfe","description":"San Test Utils 是 San.js 官方的单元测试实用工具库","archived":false,"fork":false,"pushed_at":"2022-12-08T01:36:55.000Z","size":4804,"stargazers_count":5,"open_issues_count":8,"forks_count":4,"subscribers_count":13,"default_branch":"master","last_synced_at":"2025-07-31T03:55:31.202Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ecomfe.github.io/san-test-utils/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ecomfe.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}},"created_at":"2020-05-07T10:29:50.000Z","updated_at":"2023-11-27T11:51:46.000Z","dependencies_parsed_at":"2023-01-24T11:15:55.145Z","dependency_job_id":null,"html_url":"https://github.com/ecomfe/san-test-utils","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/ecomfe/san-test-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fsan-test-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fsan-test-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fsan-test-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fsan-test-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ecomfe","download_url":"https://codeload.github.com/ecomfe/san-test-utils/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ecomfe%2Fsan-test-utils/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268392052,"owners_count":24243296,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-08-02T12:41:50.238Z","updated_at":"2025-08-02T12:41:52.186Z","avatar_url":"https://github.com/ecomfe.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# san-test-utils\n\n## 介绍\n\nSan Test Utils 是为 [San.js](https://baidu.github.io/san/) 打造的测试库，它提供了为San组件进行单元测试的能力。该工具包参考了 [vue-test-utils](https://github.com/vuejs/vue-test-utils)。\n\n## 安装\n\n```\nnpm install san-test-utils\n```\n\n## 测试\n\n```\nnpm test\n```\n\n## 文档\n\n[文档](https://ecomfe.github.io/san-test-utils/)\n\n## 与各个测试框架配合使用的示例\n\n- [Jest示例](https://github.com/ecomfe/san-test-utils/tree/master/docs/demo/jest)\n- [Mocha示例](https://github.com/ecomfe/san-test-utils/tree/master/docs/demo/mocha)\n- [Karma示例](https://github.com/ecomfe/san-test-utils/tree/master/docs/demo/karma)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomfe%2Fsan-test-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fecomfe%2Fsan-test-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fecomfe%2Fsan-test-utils/lists"}