48 lines
1.9 KiB
Plaintext
48 lines
1.9 KiB
Plaintext
[egg-ts-helper] create typings\app\extend\application.d.ts (3ms)
|
|
[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 (15ms)
|
|
[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.setting.storeWarehouse.test.js
|
|
✔ should list store-warehouse contracts in current subject scope (154ms)
|
|
✔ should allow renaming current-side remask and reflect it in list display (869ms)
|
|
✔ should generate a temp code and support preview before confirmation (267ms)
|
|
✔ should only change use_status when unbinding (584ms)
|
|
✔ should allow warehouse side to save and get policy config on a contract (921ms)
|
|
✔ should reject unsupported policy config fields on a contract (276ms)
|
|
1) should allow warehouse side to save, update and delete api config on a contract
|
|
✔ should reject sign when counterparty is missing (60ms)
|
|
✔ should reject unbind when no target relation is provided (120ms)
|
|
|
|
|
|
8 passing (4s)
|
|
1 failing
|
|
|
|
1) test/app/controller/system.setting.storeWarehouse.test.js
|
|
should allow warehouse side to save, update and delete api config on a contract:
|
|
|
|
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
|
+ actual - expected
|
|
|
|
+ 'failure'
|
|
- 'success'
|
|
|
|
+ expected - actual
|
|
|
|
-failure
|
|
+success
|
|
|
|
at Context.<anonymous> (test\app\controller\system.setting.storeWarehouse.test.js:300:14)
|
|
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
|
|
|
|
|
|
[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
|
|
|