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

Added unit tests for XREvents #268

Merged
merged 4 commits into from
May 2, 2023

Conversation

saitonakamura
Copy link
Sponsor Collaborator

Had to refactor the code a bit to a make it more handy to test, but no big changes

Contribution is sponsored by Mayflower

@codesandbox-ci
Copy link

codesandbox-ci bot commented Mar 23, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit af21748:

Sandbox Source
examples Configuration

this way it'll be easier to mock a store provider without exposing XRContext to the outside
had to make private XRController fields public because of weird Typescript behaviour:
implementing a class requires to implement private fields, but now adequate way to do so
@saitonakamura
Copy link
Sponsor Collaborator Author

Tested examples on codesandbox

@saitonakamura saitonakamura merged commit 93d0e4c into pmndrs:master May 2, 2023
2 checks passed
@saitonakamura saitonakamura deleted the xr-events-test branch May 9, 2023 09:44
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

1 participant