build(deps): update geostyler-* deps to latest major versions (#38151)

Signed-off-by: hainenber <dotronghai96@gmail.com>
This commit is contained in:
Đỗ Trọng Hải
2026-03-13 15:18:59 +07:00
committed by GitHub
parent 83955e87ac
commit 0b8df8d3f2
7 changed files with 203 additions and 438 deletions

View File

@@ -36,6 +36,7 @@ describe('layerUtil', () => {
describe('createWfsLayer', () => {
test('properly applies style', async () => {
const colorToExpect = '#123456';
const fillColor = '#ff0000';
const wfsLayerConf: WfsLayerConf = {
title: 'osm:osm-fuel',
@@ -61,7 +62,7 @@ describe('layerUtil', () => {
},
{
kind: 'Fill',
color: '#000000',
color: fillColor,
},
],
},
@@ -76,8 +77,8 @@ describe('layerUtil', () => {
expect(style!.length).toEqual(3);
// @ts-expect-error upgrade `ol` package for better type of StyleLike type.
const colorAtLayer = style![1].getImage().getFill().getColor();
expect(colorToExpect).toEqual(colorAtLayer);
const colorAtLayer = style![2].getFill().getColor();
expect(colorAtLayer).toEqual(fillColor);
});
});