Update chai to v5 (major) #3378
Annotations
10 errors and 10 warnings
Run tests:
test/00-basic.test.ts#L2
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("chai")' call instead.
|
Run tests:
test/01-constrain.test.ts#L2
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("chai")' call instead.
|
Run tests:
test/02-sync-migrator.test.ts#L3
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("chai")' call instead.
|
Run tests:
test/03-async-migrator.test.ts#L3
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("chai")' call instead.
|
Run tests:
test/04-translations.test.ts#L5
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("chai")' call instead.
|
Run tests:
test/05-request-cancellation.test.ts#L1
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("chai")' call instead.
|
Run tests:
test/06-webresource.test.ts#L2
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("chai")' call instead.
|
Run tests:
test/07-permissions.test.ts#L2
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("chai")' call instead.
|
Run tests:
test/08-tasks.test.ts#L1
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("chai")' call instead.
|
Run tests:
test/lib/common.ts#L1
The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import("chai")' call instead.
|
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