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

Add promise-mapping utility function #23

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AbeJellinek
Copy link
Member

@AbeJellinek AbeJellinek commented Mar 31, 2023

This will be useful for translators - our new async template fails early on multiples if scrape() throws an error on one of the pages, which isn't great, and it would be best to handle that with minimal per-translator boilerplate.

@AbeJellinek AbeJellinek requested a review from dstillman March 31, 2023 17:15
With tests using sinon and chai-as-promised.
@AbeJellinek AbeJellinek force-pushed the add-promise-mapping-utility branch from 5e8db9f to ce3a10b Compare March 31, 2023 17:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant