Added geoJSON source getBounds method #7044
test-all.yml
on: pull_request
Code Hygiene
2m 21s
Unit tests and Coverage
2m 18s
Matrix: Build tests
Matrix: Integration tests
Matrix: Render tests
Annotations
7 errors and 8 warnings
Unhandled error:
src/source/geojson_source.ts#L288
TypeError: Cannot read properties of undefined (reading 'flat')
❯ GeoJSONSource.getBounds src/source/geojson_source.ts:288:44
This error originated in "src/source/geojson_source.test.ts" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "src/source/geojson_source.test.ts". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
src/source/geojson_source.test.ts > GeoJSONSource#getBounds > returns bounds:
src/source/geojson_source.test.ts#L515
AssertionError: expected Promise{…} to be LngLatBounds{ …(2) } // Object.is equality
- Expected
+ Received
- LngLatBounds {
- "_ne": LngLat {
- "lat": 37.83381888,
- "lng": -122.4833965,
- },
- "_sw": LngLat {
- "lat": 37.82880237,
- "lng": -122.493782,
- },
- }
+ Promise {}
❯ src/source/geojson_source.test.ts:515:36
|
Unit tests and Coverage
Process completed with exit code 1.
|
test/build/min.test.ts > test min build > bundle size stays the same:
test/build/min.test.ts#L43
AssertionError: expected 909679 to be less than 909652
❯ test/build/min.test.ts:43:29
|
Build tests (ubuntu-latest)
Process completed with exit code 1.
|
Build tests (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|
Build tests (windows-latest)
The operation was canceled.
|
Unit tests and Coverage
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Unit tests and Coverage
Codecov:
Failed to properly upload report: The process '/home/runner/work/_actions/codecov/test-results-action/v1/dist/codecov' failed with exit code 1
|
Code Hygiene
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build tests (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Integration tests (ubuntu-latest)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Render tests (ubuntu-latest, 2)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Render tests (ubuntu-latest, 0)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Render tests (ubuntu-latest, 1)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
build-dist-ubuntu-latest
|
235 KB |
|
build-dist-windows-latest
|
235 KB |
|