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

[test-utils] Add testLayerAsync #4659

Merged
merged 1 commit into from
Jun 12, 2020
Merged

[test-utils] Add testLayerAsync #4659

merged 1 commit into from
Jun 12, 2020

Conversation

Pessimistress
Copy link
Collaborator

For #4365 (comment)

Note that the skipped MVTLayer test still does not pass with this PR. It will rely on #4658

Change List

  • Add testLayerAsync to test-utils
  • Remove deprecated testUpdateLayer and testDrawLayer (not documented, not used)
  • Docs

@coveralls
Copy link

coveralls commented Jun 7, 2020

Coverage Status

Coverage remained the same at 80.476% when pulling 0fd64d7 on x/test-async into 05841a3 on master.

Copy link
Collaborator

@ibgreen ibgreen left a comment

Choose a reason for hiding this comment

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

A bit more detail in the docs about the new testLayerAsync would probably be good. It could be clearer on what it waits for, the resource count system... Is it just waiting for all the async props for that layer to load? What it can be used for/intended for? etc.

@Pessimistress
Copy link
Collaborator Author

Is it just waiting for all the async props for that layer to load

It's waiting for layer.isLoaded to be true. See #4091

@Pessimistress Pessimistress merged commit 9302af0 into master Jun 12, 2020
@Pessimistress Pessimistress deleted the x/test-async branch June 12, 2020 20:30
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.

None yet

4 participants