46 lines
1.8 KiB
Markdown
46 lines
1.8 KiB
Markdown
# 测试结果
|
|
|
|
- 时间: 20260410-164555
|
|
- 范围: main
|
|
- 文件: test/app/lib/file_writer.test.js
|
|
- 状态: pass
|
|
- 退出码: 0
|
|
|
|
## 标准输出
|
|
|
|
```text
|
|
[egg-ts-helper] create typings\app\extend\application.d.ts (2ms)
|
|
[egg-ts-helper] create typings\app\controller\index.d.ts (2ms)
|
|
[egg-ts-helper] create typings\app\model\index.d.ts (2ms)
|
|
[egg-ts-helper] create typings\config\index.d.ts (14ms)
|
|
[egg-ts-helper] create typings\config\plugin.d.ts (0ms)
|
|
[egg-ts-helper] create typings\app\service\index.d.ts (3ms)
|
|
[egg-ts-helper] create typings\app\index.d.ts (1ms)
|
|
|
|
|
|
test/app/lib/file_writer.test.js
|
|
鉁?should keep unfinished data files and progress files during cleanup
|
|
鉁?should mark completed files, skip them on restart, and clean them up later
|
|
鉁?should keep consuming across files and partitions until the shared limit is reached (39ms)
|
|
鉁?should throttle writes when write window record limit is reached
|
|
鉁?should consume with a simple per-call limit without time-based windowing
|
|
鉁?should consume files across multiple date partitions in write order without a date filter (39ms)
|
|
鉁?should sort files within the same date partition by sequence instead of mtime
|
|
鉁?should keep exact offsets for CRLF files without a trailing newline
|
|
鉁?should ignore corrupt progress and completion markers and keep consuming
|
|
鉁?should rethrow filesystem errors other than missing files when loading progress markers
|
|
鉁?should recycle old partition states when the cache reaches its limit
|
|
鉁?should limit records when maxRecords is specified (57ms)
|
|
|
|
|
|
12 passing (341ms)
|
|
|
|
[mochawesome] Report JSON saved to D:\wms\node_modules\.mochawesome-reports\mochawesome.json
|
|
|
|
[mochawesome] Report HTML saved to D:\wms\node_modules\.mochawesome-reports\mochawesome.html
|
|
```
|
|
|
|
## 标准错误
|
|
|
|
(empty)
|