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 test for randombytes in web worker context #10

Closed
wants to merge 2 commits into from

Conversation

nickpeihl
Copy link

Fixes #9.

For a while I considered whether or not we should test the entire sodium-test suite in web workers as well, but perhaps that unnecessary? I believe only the randombytes module differs in how it's run in browsers versus Node. Thanks for your consideration! I appreciate any input.

@emilbayes
Copy link
Member

Looks good! Could you maybe put the code in something like tests/webworker or similar? Just so the root doesn't grow unbounded :)

@nickpeihl
Copy link
Author

Sure. I've moved the web worker test to a new directory. Good idea.

@nickpeihl
Copy link
Author

I'm grooming my backlog and closing stale PRs.

@nickpeihl nickpeihl closed this May 17, 2024
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.

Write tests for web workers
2 participants