Skip to content

Fix unit test

a8be8bb
Select commit
Loading
Failed to load commit list.
Merged

[OSDEV-2373] Add geographic information section #904

Fix unit test
a8be8bb
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Mar 11, 2026 in 58s

Annotations

Check warning on line 450 in src/react/src/__tests__/components/ProductionLocationDetailsMapUtils.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzWeepsLqjZ_YRjEfsZ&open=AZzWeepsLqjZ_YRjEfsZ&pullRequest=904

Check warning on line 80 in src/react/src/components/ProductionLocation/ProductionLocationDetailsContainer/ProductionLocationDetailsContainer.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'data.id' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzDIeH0_LV4vvdhqv4X&open=AZzDIeH0_LV4vvdhqv4X&pullRequest=904

Check warning on line 451 in src/react/src/__tests__/components/ProductionLocationDetailsMapUtils.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzWeepsLqjZ_YRjEfsa&open=AZzWeepsLqjZ_YRjEfsa&pullRequest=904

Check warning on line 522 in src/react/src/__tests__/components/ProductionLocationDetailsMapUtils.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzbzzRoLqjZ_YRj27Cj&open=AZzbzzRoLqjZ_YRj27Cj&pullRequest=904

Check warning on line 373 in src/react/src/__tests__/components/ProductionLocationDetailsMapUtils.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzTjxuikz7ky6K7qFrW&open=AZzTjxuikz7ky6K7qFrW&pullRequest=904

Check warning on line 12 in src/react/src/setupTests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `global`.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzTjxzJkz7ky6K7qFrg&open=AZzTjxzJkz7ky6K7qFrg&pullRequest=904

Check warning on line 74 in src/react/src/components/ProductionLocation/ProductionLocationDetailsContainer/ProductionLocationDetailsContainer.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'location.search' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZy-O8cPvbhoS0a6sk3P&open=AZy-O8cPvbhoS0a6sk3P&pullRequest=904

Check warning on line 413 in src/react/src/__tests__/components/ProductionLocationDetailsMapUtils.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzTjxuikz7ky6K7qFra&open=AZzTjxuikz7ky6K7qFra&pullRequest=904

Check warning on line 49 in src/react/src/components/VectorTileGridLegend.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'currentZoomLevel' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzDrCBalgOlHtCVjteu&open=AZzDrCBalgOlHtCVjteu&pullRequest=904

Check warning on line 69 in src/react/src/components/ProductionLocation/ProductionLocationDetailsContainer/ProductionLocationDetailsContainer.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'location.search' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZy-O8cPvbhoS0a6sk3O&open=AZy-O8cPvbhoS0a6sk3O&pullRequest=904

Check warning on line 404 in src/react/src/__tests__/components/ProductionLocationDetailsMapUtils.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzTjxuikz7ky6K7qFrX&open=AZzTjxuikz7ky6K7qFrX&pullRequest=904

Check warning on line 459 in src/react/src/__tests__/components/ProductionLocationDetailsMapUtils.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzWeepsLqjZ_YRjEfsc&open=AZzWeepsLqjZ_YRjEfsc&pullRequest=904

Check warning on line 50 in src/react/src/components/VectorTileGridLegend.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'gridColorRamp' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzDrCBalgOlHtCVjtev&open=AZzDrCBalgOlHtCVjtev&pullRequest=904

Check warning on line 11 in src/react/src/setupTests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `global`.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzTjxzJkz7ky6K7qFre&open=AZzTjxzJkz7ky6K7qFre&pullRequest=904

Check warning on line 49 in src/react/src/components/ProductionLocation/ProductionLocationDetailsContainer/ProductionLocationDetailsContainer.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'fetchFacilitiesForMap' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZy-O8cPvbhoS0a6sk3N&open=AZy-O8cPvbhoS0a6sk3N&pullRequest=904

Check warning on line 110 in src/react/src/components/ProductionLocation/ProductionLocationDetailsContainer/ProductionLocationDetailsContainer.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'data.id' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzDIeH0_LV4vvdhqv4Y&open=AZzDIeH0_LV4vvdhqv4Y&pullRequest=904

Check warning on line 523 in src/react/src/__tests__/components/ProductionLocationDetailsMapUtils.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzbzzRoLqjZ_YRj27Ck&open=AZzbzzRoLqjZ_YRj27Ck&pullRequest=904

Check warning on line 372 in src/react/src/__tests__/components/ProductionLocationDetailsMapUtils.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzTjxuikz7ky6K7qFrV&open=AZzTjxuikz7ky6K7qFrV&pullRequest=904

Check warning on line 5 in src/react/src/components/ProductionLocation/ProductionLocationDetailsMap/styles.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

The arrow function should be named.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZy-O8hQvbhoS0a6sk3Q&open=AZy-O8hQvbhoS0a6sk3Q&pullRequest=904

Check warning on line 11 in src/react/src/setupTests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `globalThis` over `global`.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzTjxzJkz7ky6K7qFrf&open=AZzTjxzJkz7ky6K7qFrf&pullRequest=904

Check warning on line 405 in src/react/src/__tests__/components/ProductionLocationDetailsMapUtils.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzTjxuikz7ky6K7qFrY&open=AZzTjxuikz7ky6K7qFrY&pullRequest=904

Check warning on line 18 in src/react/src/__tests__/components/ProductionLocationDetailsMap.test.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'children' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzTjxy0kz7ky6K7qFrc&open=AZzTjxy0kz7ky6K7qFrc&pullRequest=904

Check warning on line 86 in src/react/src/components/ProductionLocation/ProductionLocationDetailsContainer/ProductionLocationDetailsContainer.jsx

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

'error.length' is missing in props validation

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzb3w5fqn45uAgxLrG-&open=AZzb3w5fqn45uAgxLrG-&pullRequest=904

Check warning on line 412 in src/react/src/__tests__/components/ProductionLocationDetailsMapUtils.test.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Don't use a zero fraction in the number.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzTjxuikz7ky6K7qFrZ&open=AZzTjxuikz7ky6K7qFrZ&pullRequest=904

Check warning on line 9 in src/react/src/setupTests.js

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Prefer `node:util` over `util`.

See more on https://sonarcloud.io/project/issues?id=opensupplyhub_open-supply-hub&issues=AZzWp8L7_Rp-n3zDizSk&open=AZzWp8L7_Rp-n3zDizSk&pullRequest=904