feat(mdx-loader): Remark plugin to report unused MDX / Markdown directives #3964
Annotations
14 errors
directives remark plugin › default behavior for container directives:
packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `directives remark plugin default behavior for container directives 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:49:36)
|
directives remark plugin › default behavior for leaf directives:
packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts#L57
expect(received).toMatchSnapshot()
Snapshot name: `directives remark plugin default behavior for leaf directives 2`
- Snapshot - 5
+ Received + 1
- [
- [
- "[WARNING] We found a potential error in your documentation unusedLeafDirective "packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/__fixtures__/leafDirectives.md":1:1",
- ],
- ]
+ []
at Object.toMatchSnapshot (packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts:57:36)
|
directives remark plugin › default behavior for text directives:
packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts#L65
expect(received).toMatchSnapshot()
Snapshot name: `directives remark plugin default behavior for text directives 2`
- Snapshot - 5
+ Received + 1
- [
- [
- "[WARNING] We found a potential error in your documentation textDirective2 "packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/__fixtures__/textDirectives.md":7:7",
- ],
- ]
+ []
at Object.toMatchSnapshot (packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts:65:36)
|
Tests (18)
Process completed with exit code 1.
|
Tests (20)
The job was canceled because "_18" failed.
|
directives remark plugin › default behavior for container directives:
packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `directives remark plugin default behavior for container directives 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:49:36)
|
directives remark plugin › default behavior for leaf directives:
packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts#L57
expect(received).toMatchSnapshot()
Snapshot name: `directives remark plugin default behavior for leaf directives 2`
- Snapshot - 5
+ Received + 1
- [
- [
- "[WARNING] We found a potential error in your documentation unusedLeafDirective "packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/__fixtures__/leafDirectives.md":1:1",
- ],
- ]
+ []
at Object.toMatchSnapshot (packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts:57:36)
|
directives remark plugin › default behavior for text directives:
packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts#L65
expect(received).toMatchSnapshot()
Snapshot name: `directives remark plugin default behavior for text directives 2`
- Snapshot - 5
+ Received + 1
- [
- [
- "[WARNING] We found a potential error in your documentation textDirective2 "packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/__fixtures__/textDirectives.md":7:7",
- ],
- ]
+ []
at Object.toMatchSnapshot (packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts:65:36)
|
Tests (20)
The operation was canceled.
|
Tests (18.0)
The job was canceled because "_18" failed.
|
directives remark plugin › default behavior for container directives:
packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts#L49
expect(received).toMatchSnapshot()
Snapshot name: `directives remark plugin default behavior for container directives 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:49:36)
|
directives remark plugin › default behavior for leaf directives:
packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts#L57
expect(received).toMatchSnapshot()
Snapshot name: `directives remark plugin default behavior for leaf directives 2`
- Snapshot - 5
+ Received + 1
- [
- [
- "[WARNING] We found a potential error in your documentation unusedLeafDirective "packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/__fixtures__/leafDirectives.md":1:1",
- ],
- ]
+ []
at Object.toMatchSnapshot (packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts:57:36)
|
directives remark plugin › default behavior for text directives:
packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts#L65
expect(received).toMatchSnapshot()
Snapshot name: `directives remark plugin default behavior for text directives 2`
- Snapshot - 5
+ Received + 1
- [
- [
- "[WARNING] We found a potential error in your documentation textDirective2 "packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/__fixtures__/textDirectives.md":7:7",
- ],
- ]
+ []
at Object.toMatchSnapshot (packages/docusaurus-mdx-loader/src/remark/unusedDirectives/__tests__/index.test.ts:65:36)
|
Tests (18.0)
The operation was canceled.
|