42 lines
1.6 KiB
Markdown
42 lines
1.6 KiB
Markdown
# 测试结果
|
|
|
|
- 时间: 20260410-164555
|
|
- 范围: mirror
|
|
- 文件: test/app/controller/system.stock.warehouse.getStockDetail.test.js
|
|
- 状态: pass
|
|
- 退出码: 0
|
|
|
|
## 标准输出
|
|
|
|
```text
|
|
[egg-ts-helper] create typings\app\extend\application.d.ts (1ms)
|
|
[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 (11ms)
|
|
[egg-ts-helper] create typings\config\plugin.d.ts (0ms)
|
|
[egg-ts-helper] create typings\app\service\index.d.ts (4ms)
|
|
[egg-ts-helper] create typings\app\index.d.ts (1ms)
|
|
|
|
|
|
test/app/controller/system.stock.warehouse.getStockDetail.test.js
|
|
鉁?should return stockItem, storageList and pagination for a valid stock_id (99ms)
|
|
鉁?should respect pagination parameters (93ms)
|
|
鉁?should return error when stock_id is empty
|
|
鉁?should return error when stock_id does not exist (61ms)
|
|
鉁?should return empty storageList when stock exists but has no storage records (91ms)
|
|
鉁?should merge storageList by space_id when group_by_batch is not provided (default) (184ms)
|
|
鉁?should merge storageList by space_id when group_by_batch=false (explicit) (182ms)
|
|
鉁?should return independent records per batch when group_by_batch=true (181ms)
|
|
|
|
|
|
8 passing (2s)
|
|
|
|
[mochawesome] Report JSON saved to D:\wms\worktrees\deploy-20260409155126\node_modules\.mochawesome-reports\mochawesome.json
|
|
|
|
[mochawesome] Report HTML saved to D:\wms\worktrees\deploy-20260409155126\node_modules\.mochawesome-reports\mochawesome.html
|
|
```
|
|
|
|
## 标准错误
|
|
|
|
(empty)
|