Fix async tasks race condition for selecting task to be executed #3295
Annotations
1 error and 10 warnings
Run tests
Process completed with exit code 38.
|
Run tests:
src/bin/utils.ts#L2
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
Run tests:
src/data-server/sbvr-server.ts#L237
Expected an error object to be thrown
|
Run tests:
src/database-layer/db.ts#L191
Async arrow function 'rejectFn' has no 'await' expression
|
Run tests:
src/database-layer/db.ts#L202
Async arrow function 'rejectFn' has no 'await' expression
|
Run tests:
src/database-layer/db.ts#L422
Async method 'getTxLevelLock' has no 'await' expression
|
Run tests:
src/database-layer/db.ts#L935
Async method '_commit' has no 'await' expression
|
Run tests:
src/database-layer/db.ts#L984
Expected the Promise rejection reason to be an Error
|
Run tests:
src/express-emulator/express.js#L64
Expected an error object to be thrown
|
Run tests:
src/express-emulator/express.js#L105
Expected the Promise rejection reason to be an Error
|
Run tests:
src/express-emulator/express.js#L114
Expected the Promise rejection reason to be an Error
|
Loading