# 测试结果 - 时间: 20260410-164555 - 范围: main - 文件: 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 (1ms) [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 (91ms) 鉁?should respect pagination parameters (91ms) 鉁?should return error when stock_id is empty 鉁?should return error when stock_id does not exist (63ms) 鉁?should return empty storageList when stock exists but has no storage records (90ms) 鉁?should merge storageList by space_id when group_by_batch is not provided (default) (180ms) 鉁?should merge storageList by space_id when group_by_batch=false (explicit) (184ms) 鉁?should return independent records per batch when group_by_batch=true (178ms) 8 passing (2s) [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)