WMS_MAIN/test_reports/tmp/041-main.stdout.log
liufumingren e73a311076 ok
2026-04-11 17:09:06 +08:00

48 lines
2.0 KiB
Plaintext

[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