2.8 KiB
2.8 KiB
测试结果
- 时间: 20260410-164555
- 范围: main
- 文件: test/app/service/systems/storage.receiving.report.test.js
- 状态: fail
- 退出码: 1
标准输出
[egg-ts-helper] create typings\app\extend\application.d.ts (2ms)
[egg-ts-helper] create typings\app\controller\index.d.ts (1ms)
[egg-ts-helper] create typings\app\model\index.d.ts (2ms)
[egg-ts-helper] create typings\config\index.d.ts (12ms)
[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/service/systems/storage.receiving.report.test.js
1) should build and upload completion excel in a single sheet with one preview column
鉁?should send receiving completed notice with the unified event payload
鉁?should show only license plate for truck in notice content and report main rows
鉁?should show only tracking number for express in notice content and report main rows
鉁?should hide both contact fields for other delivery methods
鉁?should support nested notice.index service shape from Egg loader
鉁?should trigger text notice before excel and then send file notice after upload succeeds
鉁?should only send text notice when completion excel generation fails
鉁?should still complete and notify when detail has no matched product or completeness fields
8 passing (24ms)
1 failing
1) test/app/service/systems/storage.receiving.report.test.js
should build and upload completion excel in a single sheet with one preview column:
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
+ actual - expected
+ '鏀惰揣鏄庣粏(宸插畬鎴愭敹璐?_RCV202604040001.xlsx'
- '鏀惰揣瀹屾垚_RCV202604040001.xlsx'
^
+ expected - actual
-鏀惰揣鏄庣粏(宸插畬鎴愭敹璐?_RCV202604040001.xlsx
+鏀惰揣瀹屾垚_RCV202604040001.xlsx
at Context.<anonymous> (test\app\service\systems\storage.receiving.report.test.js:260:12)
[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
标准错误
ForkError: D:\wms\node_modules\mocha\bin\_mocha --exit --timeout=60000 --reporter=D:\wms\node_modules\mochawesome-with-mocha\src\mochawesome.js --reporter-options=reportDir=node_modules/.mochawesome-reports --require=D:\wms\node_modules\egg-mock\register.js test/app/service/systems/storage.receiving.report.test.js exit with code 1
at ChildProcess.<anonymous> (D:\wms\node_modules\egg-bin\dist\cmd\base.js:98:33)
at Object.onceWrapper (node:events:623:26)
at ChildProcess.emit (node:events:508:28)
at ChildProcess._handle.onexit (node:internal/child_process:294:12) {
code: 1
}