Skip to content

Calculate the API URL based on window.location #7

Calculate the API URL based on window.location

Calculate the API URL based on window.location #7

Triggered via pull request October 11, 2023 23:25
Status Success
Total duration 2m 27s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
Run tests: src/components/ControlPanel/RefreshPageButton.tsx#L10
'window.location.href' is assigned to itself
Run tests: src/components/SlippyMap/Legend.tsx#L27
img elements must have an alt prop, either with meaningful text, or an empty string for decorative images
Run tests: src/components/SlippyMap/index.tsx#L112
Unexpected any. Specify a different type
Run tests: src/components/TileLayout.tsx#L60
'variablesIndexQuery' is assigned a value but never used
Run tests: src/state/client/derived/mapView.ts#L29
Forbidden non-null assertion
Run tests: src/state/client/derived/selectedBasemapLayer.ts#L17
Forbidden non-null assertion
Run tests: src/types/SlippyMap.ts#L11
Unexpected any. Specify a different type
Run tests: src/types/SlippyMap.ts#L13
Unexpected any. Specify a different type
Run tests: src/util/__tests__/waterYear.ts#L16
Forbidden non-null assertion
Run tests: src/util/__tests__/waterYear.ts#L22
Forbidden non-null assertion