Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix broken tests for layer actions #171

Merged
merged 3 commits into from
Oct 12, 2023

Conversation

scottbasgaard
Copy link
Contributor

@scottbasgaard scottbasgaard commented Oct 9, 2023

@florislangeraert fixed this to support async correctly.

@scottbasgaard
Copy link
Contributor Author

@florislangeraert can you also update Node / build here to 18? It should be okay.

@sonarcloud
Copy link

sonarcloud bot commented Oct 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@scottbasgaard
Copy link
Contributor Author

@florislangeraert can you also update Node / build here to 18? It should be okay.

Updated this to 18 in this branch. Also added support for all layer types:

image

@@ -1,8 +1,5 @@
export function decorateLayerStyling(layerData) {
if (
layerData.properties['deltares:source-layer'] &&
layerData.properties['deltares:type'] === 'circle'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@florislangeraert I removed this test for type circle as the one you were testing was type symbol. Either way it should grab the paint styling directly over the API then.

@florislangeraert florislangeraert merged commit b793cdf into openearth:main Oct 12, 2023
3 checks passed
@scottbasgaard scottbasgaard deleted the scott/fix-tests branch October 23, 2023 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants