Hello all,
I wanted to add some tests using jest
for my plugins.
How can I write for example a mock for joplin.settings.value
with parameter to test e.g. the function getDoubleNumber
.
Example repo: GitHub - JackGruber/joplin-plugin-jest
I've been trying for a few hours, but I can't get it to work.
I hope you can help me, or give me the right impulse to think