docs: 更新测试数318/套件20/覆盖率91%/关键字33
CI / test (18.x) (push) Waiting to run
CI / test (20.x) (push) Waiting to run
CI / test (22.x) (push) Waiting to run
CI / test (24.x) (push) Waiting to run

This commit is contained in:
thzxx
2026-07-26 18:01:03 +08:00
parent 1f8e11bf72
commit 4c04865526
2 changed files with 11 additions and 11 deletions
+7 -7
View File
@@ -3,8 +3,8 @@
<p align="center">
<img src="https://img.shields.io/badge/version-0.1.14-blue?style=flat-square" alt="version">
<img src="https://img.shields.io/badge/license-MIT-green?style=flat-square" alt="license">
<img src="https://img.shields.io/badge/coverage-93.46%25-brightgreen?style=flat-square" alt="coverage">
<img src="https://img.shields.io/badge/tests-264%20passed-success?style=flat-square" alt="tests">
<img src="https://img.shields.io/badge/coverage-91.0%25-brightgreen?style=flat-square" alt="coverage">
<img src="https://img.shields.io/badge/tests-318%20passed-success?style=flat-square" alt="tests">
</p>
> 基于 TypeScript 的**前端关系型数据库**,内存与磁盘双模式运行,支持完整 SQL 查询与 Query Builder 链式 API。
@@ -16,7 +16,7 @@
- 🔒 **IndexedDB 事务原子性** — flushToIDB 单事务包裹 clear+insert,崩溃安全
- 🏷 **多标签页感知**`onversionchange` 自动检测并关闭过期连接
- 🔁 **引擎幂等 init** — 重复调用 `open()` 安全无副作用
- 🧪 **306 测试 · 93.2% 语句覆盖率** — 生产级质量保证
- 🧪 **318 测试 · 91.0% 行覆盖率** — 生产级质量保证
---
@@ -232,10 +232,10 @@ npm run typecheck # 类型检查
| 指标 | 数值 |
|------|------|
| 测试用例 | 264 |
| 测试套件 | 15 |
| 语句覆盖率 | 93.46% |
| SQL 关键字 | 31 |
| 测试用例 | 318 |
| 测试套件 | 20 |
| 覆盖率 | 91.0% |
| SQL 关键字 | 33 |
| 存储引擎 | 4Memory / IndexedDB / OPFS / Hybrid |
---