Skip to content

Update chai to v5 (major) #3257

Update chai to v5 (major)

Update chai to v5 (major) #3257

Triggered via pull request October 25, 2024 13:10
Status Failure
Total duration 3m 56s
Artifacts 1

flowzone.yml

on: pull_request
Matrix: Flowzone / Event Types
Flowzone  /  Versioned source
1m 2s
Flowzone / Versioned source
Flowzone  /  Clean GitHub release
0s
Flowzone / Clean GitHub release
Flowzone  /  Is custom
14s
Flowzone / Is custom
Flowzone  /  Is rust
6s
Flowzone / Is rust
Flowzone  /  Is npm
16s
Flowzone / Is npm
Flowzone  /  Is python
6s
Flowzone / Is python
Flowzone  /  Is docker
9s
Flowzone / Is docker
Flowzone  /  Generate release notes
13s
Flowzone / Generate release notes
Flowzone  /  Is balena
0s
Flowzone / Is balena
Flowzone  /  Is website
0s
Flowzone / Is website
Flowzone  /  Is CloudFormation
0s
Flowzone / Is CloudFormation
Flowzone  /  Lint workflows
12s
Flowzone / Lint workflows
Matrix: Flowzone / Test custom
Matrix: Flowzone / Clean custom
Matrix: Flowzone / Finalize custom
Matrix: Flowzone / Test rust
Flowzone  /  Finalize rust
0s
Flowzone / Finalize rust
Matrix: Flowzone / Test npm
Flowzone  /  Finalize npm
0s
Flowzone / Finalize npm
Flowzone  /  Finalize npm docs
0s
Flowzone / Finalize npm docs
Matrix: Flowzone / Test python poetry
Flowzone  /  Finalize python
0s
Flowzone / Finalize python
Matrix: Flowzone / Test docker
Matrix: Flowzone / Finalize docker
Flowzone  /  Prepare deploy message
0s
Flowzone / Prepare deploy message
Flowzone  /  Finalize GitHub release
0s
Flowzone / Finalize GitHub release
Matrix: Flowzone / Finalize balena
Matrix: Flowzone / Test CloudFormation
Matrix: Flowzone / Finalize CloudFormation
Flowzone  /  Generate SBOM for cargo
0s
Flowzone / Generate SBOM for cargo
Flowzone  /  Generate SBOM for NPM
0s
Flowzone / Generate SBOM for NPM
Flowzone  /  Generate SBOM for python
0s
Flowzone / Generate SBOM for python
Matrix: Flowzone / Publish custom
Matrix: Flowzone / Publish rust
Flowzone  /  Publish npm
0s
Flowzone / Publish npm
Flowzone  /  Publish to test PyPI
0s
Flowzone / Publish to test PyPI
Matrix: Flowzone / Publish balena
Flowzone  /  Publish website
0s
Flowzone / Publish website
Matrix: Flowzone / Publish docker
Flowzone  /  All tests
0s
Flowzone / All tests
Matrix: Flowzone / Always custom
Flowzone  /  Publish Github release
0s
Flowzone / Publish Github release
Flowzone  /  All jobs
0s
Flowzone / All jobs
Flowzone  /  Auto-merge
0s
Flowzone / Auto-merge
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 20 warnings
Flowzone / Test npm (20.x): 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.
Flowzone / Test npm (20.x): 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.
Flowzone / Test npm (20.x): 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.
Flowzone / Test npm (20.x): 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.
Flowzone / Test npm (20.x): 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.
Flowzone / Test npm (20.x): 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.
Flowzone / Test npm (20.x): 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.
Flowzone / Test npm (20.x): 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.
Flowzone / Test npm (20.x): 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.
Flowzone / Test npm (20.x): 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.
Flowzone / Test npm (22.x): 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.
Flowzone / Test npm (22.x): 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.
Flowzone / Test npm (22.x): 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.
Flowzone / Test npm (22.x): 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.
Flowzone / Test npm (22.x): 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.
Flowzone / Test npm (22.x): 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.
Flowzone / Test npm (22.x): 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.
Flowzone / Test npm (22.x): 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.
Flowzone / Test npm (22.x): 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.
Flowzone / Test npm (22.x): 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.
Flowzone / All tests
Process completed with exit code 1.
Flowzone / All jobs
Process completed with exit code 1.
Flowzone / Test npm (20.x): src/bin/utils.ts#L2
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
Flowzone / Test npm (20.x): src/data-server/sbvr-server.ts#L237
Expected an error object to be thrown
Flowzone / Test npm (20.x): src/database-layer/db.ts#L191
Async arrow function 'rejectFn' has no 'await' expression
Flowzone / Test npm (20.x): src/database-layer/db.ts#L202
Async arrow function 'rejectFn' has no 'await' expression
Flowzone / Test npm (20.x): src/database-layer/db.ts#L422
Async method 'getTxLevelLock' has no 'await' expression
Flowzone / Test npm (20.x): src/database-layer/db.ts#L935
Async method '_commit' has no 'await' expression
Flowzone / Test npm (20.x): src/database-layer/db.ts#L984
Expected the Promise rejection reason to be an Error
Flowzone / Test npm (20.x): src/express-emulator/express.js#L64
Expected an error object to be thrown
Flowzone / Test npm (20.x): src/express-emulator/express.js#L105
Expected the Promise rejection reason to be an Error
Flowzone / Test npm (20.x): src/express-emulator/express.js#L114
Expected the Promise rejection reason to be an Error
Flowzone / Test npm (22.x): src/bin/utils.ts#L2
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
Flowzone / Test npm (22.x): src/data-server/sbvr-server.ts#L237
Expected an error object to be thrown
Flowzone / Test npm (22.x): src/database-layer/db.ts#L191
Async arrow function 'rejectFn' has no 'await' expression
Flowzone / Test npm (22.x): src/database-layer/db.ts#L202
Async arrow function 'rejectFn' has no 'await' expression
Flowzone / Test npm (22.x): src/database-layer/db.ts#L422
Async method 'getTxLevelLock' has no 'await' expression
Flowzone / Test npm (22.x): src/database-layer/db.ts#L935
Async method '_commit' has no 'await' expression
Flowzone / Test npm (22.x): src/database-layer/db.ts#L984
Expected the Promise rejection reason to be an Error
Flowzone / Test npm (22.x): src/express-emulator/express.js#L64
Expected an error object to be thrown
Flowzone / Test npm (22.x): src/express-emulator/express.js#L105
Expected the Promise rejection reason to be an Error
Flowzone / Test npm (22.x): src/express-emulator/express.js#L114
Expected the Promise rejection reason to be an Error

Artifacts

Produced during runtime
Name Size
release-notes Expired
2.18 KB