denoland / deno_doc

Documentation generator for Deno
MIT License
253 stars 54 forks source link

test: add snapshot testing of html output #573

Closed kt3k closed 4 months ago

kt3k commented 4 months ago

I'm not completely sure this is a good idea, but this PR adds snapshot testing of html output of html_doc_files and html_doc_files_rewrite test cases using insta snapshot testing tool.

By these assertions, we can detect any unexpected changes as snapshot diffs in the future html renderer changes.