As I continue to write tests for my library, I've noticed that they are turning into a comprehensive documentation guide on how to use the library effectively.
I'm curious if Jest offers an API that would enable me to extract the test content in order to create a static website from it.
The challenge lies in the fact that I am currently utilizing Typescript for my tests (with ts-jest
). This makes the idea of writing tests separately in Markdown files and then importing them into the test body for testing purposes seem overly complex.
Is there a practical method to achieve this? Or will it inevitably lead to messiness regardless?