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

MockObisidan testing utility #37

Open
hipstersmoothie opened this issue Feb 27, 2021 · 2 comments
Open

MockObisidan testing utility #37

hipstersmoothie opened this issue Feb 27, 2021 · 2 comments

Comments

@hipstersmoothie
Copy link
Collaborator

Writing unit test for obsidian plugins is hard and filled with decisions. Maybe we could publish a MockObsidian that makes writing jest tests super simple.

@zephraph
Copy link
Collaborator

zephraph commented Mar 1, 2021

Got any ideas what this would look like? Just providing some APIs that adhere to the types? Maybe we could use something like intermock to generate mocks based on Obsidian's types?

@hipstersmoothie
Copy link
Collaborator Author

That would be sweet

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

No branches or pull requests

2 participants