Version Packages #1769
Annotations
3 errors
test/mdx-plugins.test.ts > Remark Image:
packages/core/test/mdx-plugins.test.ts#L66
Error: Snapshot `Remark Image 1` mismatched
- Expected
+ Received
@@ -96,33 +96,10 @@
},
{
"children": [
{
"alt": "External",
- "attributes": [
- {
- "name": "alt",
- "type": "mdxJsxAttribute",
- "value": "External",
- },
- {
- "name": "src",
- "type": "mdxJsxAttribute",
- "value": "https://picsum.photos/id/237/200/300",
- },
- {
- "name": "width",
- "type": "mdxJsxAttribute",
- "value": "200",
- },
- {
- "name": "height",
- "type": "mdxJsxAttribute",
- "value": "300",
- },
- ],
- "name": "img",
"position": {
"end": {
"column": 50,
"line": 3,
"offset": 70,
@@ -132,11 +109,11 @@
"line": 3,
"offset": 21,
},
},
"title": null,
- "type": "mdxJsxFlowElement",
+ "type": "image",
"url": "https://picsum.photos/id/237/200/300",
},
],
"position": {
"end": {
❯ test/mdx-plugins.test.ts:66:3
|
test/mdx-plugins.test.ts > Remark Image: With Path:
packages/core/test/mdx-plugins.test.ts#L82
Error: Snapshot `Remark Image: With Path 1` mismatched
- Expected
+ Received
@@ -96,33 +96,10 @@
},
{
"children": [
{
"alt": "External",
- "attributes": [
- {
- "name": "alt",
- "type": "mdxJsxAttribute",
- "value": "External",
- },
- {
- "name": "src",
- "type": "mdxJsxAttribute",
- "value": "https://picsum.photos/id/237/200/300",
- },
- {
- "name": "width",
- "type": "mdxJsxAttribute",
- "value": "200",
- },
- {
- "name": "height",
- "type": "mdxJsxAttribute",
- "value": "300",
- },
- ],
- "name": "img",
"position": {
"end": {
"column": 50,
"line": 3,
"offset": 70,
@@ -132,11 +109,11 @@
"line": 3,
"offset": 21,
},
},
"title": null,
- "type": "mdxJsxFlowElement",
+ "type": "image",
"url": "https://picsum.photos/id/237/200/300",
},
],
"position": {
"end": {
❯ test/mdx-plugins.test.ts:82:3
|
test (18)
Process completed with exit code 1.
|