Update chai to v5 (major) #751
Annotations
9 errors and 2 warnings
Run tests:
test/abstract-sql/aggregate.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/abstract-sql/get-referenced-fields.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/abstract-sql/get-rule-referenced-fields.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/abstract-sql/schema-checks.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/abstract-sql/schema-informative-reference.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/abstract-sql/schema-rule-optimization.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/abstract-sql/schema-rule-to-check.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/abstract-sql/schema-views.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
Process completed with exit code 2.
|
Run tests:
src/AbstractSQLCompiler.ts#L846
Prefer using an optional chain expression instead, as it's more concise and easier to read
|
Run tests:
src/AbstractSQLRules2SQL.ts#L293
Invalid operand for a '+' operation. Operands must each be a number or string, allowing a string + any of: `any`, `boolean`, `null`, `RegExp`, `undefined`. Got `never`
|
Loading