71 lines
2.1 KiB
Plaintext
71 lines
2.1 KiB
Plaintext
[egg-ts-helper] create typings\app\extend\application.d.ts (1ms)
|
|
[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 (1ms)
|
|
[egg-ts-helper] create typings\app\service\index.d.ts (3ms)
|
|
[egg-ts-helper] create typings\app\index.d.ts (0ms)
|
|
|
|
|
|
test/app/controller/system.storage.entry.test.js
|
|
✔ should query entry list (1104ms)
|
|
1) should create entry and run detail lifecycle then cancel
|
|
2) should complete entry after adding detail
|
|
3) should reject invalid params for create/get/addDetail
|
|
|
|
|
|
1 passing (4s)
|
|
3 failing
|
|
|
|
1) test/app/controller/system.storage.entry.test.js
|
|
should create entry and run detail lifecycle then cancel:
|
|
|
|
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
|
|
|
500 !== 200
|
|
|
|
+ expected - actual
|
|
|
|
-500
|
|
+200
|
|
|
|
at Context.<anonymous> (test\app\controller\system.storage.entry.test.js:109:12)
|
|
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
|
|
2) test/app/controller/system.storage.entry.test.js
|
|
should complete entry after adding detail:
|
|
|
|
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
|
|
|
500 !== 200
|
|
|
|
+ expected - actual
|
|
|
|
-500
|
|
+200
|
|
|
|
at Context.<anonymous> (test\app\controller\system.storage.entry.test.js:181:12)
|
|
at process.processTicksAndRejections (node:internal/process/task_queues:104:5)
|
|
|
|
3) test/app/controller/system.storage.entry.test.js
|
|
should reject invalid params for create/get/addDetail:
|
|
|
|
AssertionError [ERR_ASSERTION]: Expected values to be strictly equal:
|
|
|
|
500 !== 200
|
|
|
|
+ expected - actual
|
|
|
|
-500
|
|
+200
|
|
|
|
at Context.<anonymous> (test\app\controller\system.storage.entry.test.js:217:12)
|
|
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
|
|
|