feat(mdx-loader): Remark plugin to report unused MDX / Markdown directives #3618
Annotations
6 errors
directives remark plugin › default behavior for custom keyword:
packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts#L43
expect(received).toMatchSnapshot()
Snapshot name: `directives remark plugin default behavior for custom keyword 2`
- Snapshot - 5
+ Received + 1
- [
- [
- "[WARNING] We found a potential error in your documentation unusedDirective "packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/__fixtures__/containerDirectives.md":7:1",
- ],
- ]
+ []
at Object.toMatchSnapshot (packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts:43:36)
|
Windows Tests (18.0)
Process completed with exit code 1.
|
Windows Tests (18)
The job was canceled because "_18_0" failed.
|
Windows Tests (18)
The operation was canceled.
|
Windows Tests (20)
The job was canceled because "_18_0" failed.
|
Windows Tests (20)
The operation was canceled.
|