Skip to content

Fix Tests

Fix Tests #107

Triggered via push January 15, 2024 22:21
Status Failure
Total duration 1m 29s
Artifacts

js-qa.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 2 warnings
build: sources/js/src/api/search-entities.ts#L37
Expected property shorthand
build: sources/js/src/components/composite-entities-by-kind.tsx#L65
Unexpected console statement
build: sources/js/src/components/composite-entities-by-kind.tsx#L115
Unexpected console statement
build: sources/js/src/components/composite-entities-by-kind.tsx#L161
Unexpected console statement
build: sources/js/src/components/search-control.tsx#L12
'props' is already declared in the upper scope on line 7 column 2
build: sources/js/src/components/search-control.tsx#L20
Expected an assignment or function call and instead saw an expression
build: sources/js/src/utils/order-selected-options-at-the-top.ts#L20
Expected an assignment or function call and instead saw an expression
build: sources/js/src/utils/unique-control-options.ts#L14
Expected an assignment or function call and instead saw an expression
build: tests/js/integration/components/composite-entities-by-kind.test.tsx#L339
["exclude"] is better written in dot notation
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: sources/js/src/components/search-control.tsx#L15
React Hook useCallback has an unnecessary dependency: 'props.id'. Either exclude it or remove the dependency array