Open franciskafieh opened 7 months ago
The plugin has become big enough that I think I should add some unit tests. This way features stop randomly breaking when I attempt to fix other ones
take a look at https://github.com/obsidian-community/jest-environment-obsidian ? and https://publish.obsidian.md/hub/04+-+Guides%2C+Workflows%2C+%26+Courses/Guides/How+to+find+examples+of+Jest-based+plugin+tests
Started mocking of API. Need to define which functions really need to be tested.
The plugin has become big enough that I think I should add some unit tests. This way features stop randomly breaking when I attempt to fix other ones