Skip to content

Test

  • unit test
  • component test
  • e2e test

Testing Library

https://testing-library.com/

断言

判断测试是否通过

代码覆盖率

单元测试覆盖率 = 被测代码行数 / 参测代码总行数 * 100%

Powered by VitePress