-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test: 单元测试更新 #28
test: 单元测试更新 #28
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以合并,但是我没有看到action的单元测试覆盖率是啥情况?
@liu
6e804d5
to
363099a
Compare
363099a
to
841dbb0
Compare
Coverage Summary
File Coverage
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
* ci: 新增 action 手动触发 * ci: 新增手动 action 提示 * chore(release): 1.1.0-beta.1 [skip ci] # [1.1.0-beta.1](v1.0.0...v1.1.0-beta.1) (2023-06-14) ### Features * 添加文档搜索功能 ([#24](#24)) ([9248fb6](9248fb6)) * docs: update README.md (#17) * feat: 计算文字宽度 ✅ Closes: #15 * chore(release): 1.0.0-development.1 [skip ci] # 1.0.0-development.1 (2023-05-25) ### Features * 清除历史日志,项目迁移 ([5ec0f43](5ec0f43)) * 计算文字宽度 ([b916185](b916185)), closes [#15](#15) * 重置版本号 ([55def4a](55def4a)) * docs: update README.md --------- Co-authored-by: liu <liunian@2077tech.com> Co-authored-by: liu <liunian7965@navinfo.com> Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net> Co-authored-by: wuhaoyuan <wuhaoyuan@cennavi.com.cn> * ci: 修改触发单元测试覆盖率的分支 old:main -> new:development * ci: 兼容新版 vitest vitest-dev/vitest#3339 * ci: 测试覆盖率前生成 banner * test: 单元测试更新 (#28) Co-authored-by: lyj <liyanjie@cennavi.com.cn> * docs: readme update (#30) Co-authored-by: wuhaoyuan <wuhaoyuan@cennavi.com.cn> * build: 使用 pnpm 替代 yarn (#31) * feat: 异步加载文件成功提示信息 (#32) Co-authored-by: wuhaoyuan <wuhaoyuan@cennavi.com.cn> Co-authored-by: liu <liunian@2077tech.com> * feature: 更新 load 方法,并修改 vite 打包暴露的全局变量名称为 niUtils (#33) * refactor: 修改默认暴露名称 * fix: 修改load的函数 --------- Co-authored-by: wuhaoyuan <wuhaoyuan@cennavi.com.cn> Co-authored-by: wuhaoyuan <wuhaoyuan11101@navinfo.com> * feat: 补充单元测试并增加 e2e 相关测试 (#34) * feat: 单元测试增加jsdom相关测试 * test: 添加 e2e 的测试并使用 eslint 重新格式化整个项目 * feat: 新增获取元素样式的值的函数 * test: 修复错误的 computedTextWidth 测试用例逻辑 * ci: 添加 cypress 的缓存 --------- Co-authored-by: lyj <liyanjie@cennavi.com.cn> Co-authored-by: liunian <liunian@2077tech.com> --------- Co-authored-by: liunian <liunian@2077tech.com> Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net> Co-authored-by: liu <liunian7965@navinfo.com> Co-authored-by: wuhaoyuan <wuhaoyuan@cennavi.com.cn> Co-authored-by: 李彦杰 <1132925293@qq.com> Co-authored-by: lyj <liyanjie@cennavi.com.cn> Co-authored-by: wuhaoyuan <wuhaoyuan11101@navinfo.com>
* publish (#38) * ci: 新增 action 手动触发 * ci: 新增手动 action 提示 * chore(release): 1.1.0-beta.1 [skip ci] # [1.1.0-beta.1](v1.0.0...v1.1.0-beta.1) (2023-06-14) ### Features * 添加文档搜索功能 ([#24](#24)) ([9248fb6](9248fb6)) * docs: update README.md (#17) * feat: 计算文字宽度 ✅ Closes: #15 * chore(release): 1.0.0-development.1 [skip ci] # 1.0.0-development.1 (2023-05-25) ### Features * 清除历史日志,项目迁移 ([5ec0f43](5ec0f43)) * 计算文字宽度 ([b916185](b916185)), closes [#15](#15) * 重置版本号 ([55def4a](55def4a)) * docs: update README.md --------- Co-authored-by: liu <liunian@2077tech.com> Co-authored-by: liu <liunian7965@navinfo.com> Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net> Co-authored-by: wuhaoyuan <wuhaoyuan@cennavi.com.cn> * ci: 修改触发单元测试覆盖率的分支 old:main -> new:development * ci: 兼容新版 vitest vitest-dev/vitest#3339 * ci: 测试覆盖率前生成 banner * test: 单元测试更新 (#28) Co-authored-by: lyj <liyanjie@cennavi.com.cn> * docs: readme update (#30) Co-authored-by: wuhaoyuan <wuhaoyuan@cennavi.com.cn> * build: 使用 pnpm 替代 yarn (#31) * feat: 异步加载文件成功提示信息 (#32) Co-authored-by: wuhaoyuan <wuhaoyuan@cennavi.com.cn> Co-authored-by: liu <liunian@2077tech.com> * feature: 更新 load 方法,并修改 vite 打包暴露的全局变量名称为 niUtils (#33) * refactor: 修改默认暴露名称 * fix: 修改load的函数 --------- Co-authored-by: wuhaoyuan <wuhaoyuan@cennavi.com.cn> Co-authored-by: wuhaoyuan <wuhaoyuan11101@navinfo.com> * feat: 补充单元测试并增加 e2e 相关测试 (#34) * feat: 单元测试增加jsdom相关测试 * test: 添加 e2e 的测试并使用 eslint 重新格式化整个项目 * feat: 新增获取元素样式的值的函数 * test: 修复错误的 computedTextWidth 测试用例逻辑 * ci: 添加 cypress 的缓存 --------- Co-authored-by: lyj <liyanjie@cennavi.com.cn> Co-authored-by: liunian <liunian@2077tech.com> --------- Co-authored-by: liunian <liunian@2077tech.com> Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net> Co-authored-by: liu <liunian7965@navinfo.com> Co-authored-by: wuhaoyuan <wuhaoyuan@cennavi.com.cn> Co-authored-by: 李彦杰 <1132925293@qq.com> Co-authored-by: lyj <liyanjie@cennavi.com.cn> Co-authored-by: wuhaoyuan <wuhaoyuan11101@navinfo.com> * feat: 修改 keywords * chore(release): 1.1.0 [skip ci] # [1.1.0](v1.0.0...v1.1.0) (2023-07-19) ### Features * 修改 keywords ([11c4e02](11c4e02)) * 添加文档搜索功能 ([#24](#24)) ([9248fb6](9248fb6)) * fix: 修复 preinstall 导致的错误 --------- Co-authored-by: alanwhy <34852024+alanwhy@users.noreply.github.com> Co-authored-by: semantic-release-bot <semantic-release-bot@martynus.net> Co-authored-by: liu <liunian7965@navinfo.com> Co-authored-by: wuhaoyuan <wuhaoyuan@cennavi.com.cn> Co-authored-by: 李彦杰 <1132925293@qq.com> Co-authored-by: lyj <liyanjie@cennavi.com.cn> Co-authored-by: wuhaoyuan <wuhaoyuan11101@navinfo.com>
🎉 This PR is included in version 1.2.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
development
分支。