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: mock-env #80

Merged
merged 4 commits into from
Dec 27, 2023
Merged

test: mock-env #80

merged 4 commits into from
Dec 27, 2023

Conversation

ComradeVanti
Copy link
Collaborator

Add a mock-env utility for testing with a mocked process.env. Also rewrote some tests to use this new functionality.

A mock system for process.env that can be used in tests
Add tests that ustilize the new process.env mock
Expand tests using mock-env
@favoyang favoyang merged commit 7f6b331 into openupm:master Dec 27, 2023
2 checks passed
@ComradeVanti ComradeVanti deleted the mock-env branch December 27, 2023 09:13
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