Tests as documentation! This is a VSCode extension that gives you a convenient lens to the tests of your Javascript symbols. Hovering over a symbol gives you a top down overview of its tests. File name convention and considered test blocks can be configured through the extension's settings.
Extension Settings
This extension contributes the following settings:
testdocs.testFileNames: prioritized list of files to scan for tests
testdocs.ignoredBlocks: ignored test blocks
testdocs.flattenBlocks: flattened test blocks
Definition: A test block includes describe, suite, context, etc.
Conventions: Use __filename__ to denote file name of hovered symbol, __symbol__, for name of symbol, or __root__ for path to project's root directory when specifying testFileNames.