Skip to content

Commit

Permalink
chore: fix failing integration test snapshots post-merge
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaKGoldberg committed Nov 19, 2023
1 parent 8ec3800 commit 5dbf622
Showing 1 changed file with 104 additions and 8 deletions.
112 changes: 104 additions & 8 deletions packages/integration-tests/tests/__snapshots__/markdown.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,22 @@ exports[`markdown should lint successfully 1`] = `
"nodeType": "MemberExpression",
"ruleId": "no-console",
"severity": 2,
"suggestions": [
{
"data": {
"propertyName": "log",
},
"desc": "Remove the console.log().",
"fix": {
"range": [
54,
74,
],
"text": "",
},
"messageId": "removeConsole",
},
],
},
{
"column": 20,
Expand Down Expand Up @@ -65,6 +81,22 @@ exports[`markdown should lint successfully 1`] = `
"nodeType": "MemberExpression",
"ruleId": "no-console",
"severity": 2,
"suggestions": [
{
"data": {
"propertyName": "log",
},
"desc": "Remove the console.log().",
"fix": {
"range": [
59,
79,
],
"text": "",
},
"messageId": "removeConsole",
},
],
},
{
"column": 3,
Expand All @@ -76,6 +108,22 @@ exports[`markdown should lint successfully 1`] = `
"nodeType": "MemberExpression",
"ruleId": "no-console",
"severity": 2,
"suggestions": [
{
"data": {
"propertyName": "log",
},
"desc": "Remove the console.log().",
"fix": {
"range": [
19,
39,
],
"text": "",
},
"messageId": "removeConsole",
},
],
},
{
"column": 17,
Expand Down Expand Up @@ -122,6 +170,22 @@ exports[`markdown should lint successfully 1`] = `
"nodeType": "MemberExpression",
"ruleId": "no-console",
"severity": 2,
"suggestions": [
{
"data": {
"propertyName": "log",
},
"desc": "Remove the console.log().",
"fix": {
"range": [
24,
44,
],
"text": "",
},
"messageId": "removeConsole",
},
],
},
{
"column": 17,
Expand Down Expand Up @@ -168,6 +232,22 @@ exports[`markdown should lint successfully 1`] = `
"nodeType": "MemberExpression",
"ruleId": "no-console",
"severity": 2,
"suggestions": [
{
"data": {
"propertyName": "log",
},
"desc": "Remove the console.log().",
"fix": {
"range": [
24,
44,
],
"text": "",
},
"messageId": "removeConsole",
},
],
},
{
"column": 17,
Expand Down Expand Up @@ -214,6 +294,22 @@ exports[`markdown should lint successfully 1`] = `
"nodeType": "MemberExpression",
"ruleId": "no-console",
"severity": 2,
"suggestions": [
{
"data": {
"propertyName": "log",
},
"desc": "Remove the console.log().",
"fix": {
"range": [
24,
44,
],
"text": "",
},
"messageId": "removeConsole",
},
],
},
],
"source": "Some extra text to verify that the markdown plugin is ignoring anything that is not a code block.
Expand All @@ -227,11 +323,11 @@ function MyComp() {
console.log('test');
return (
<div>
<Button type=\"primary\">Primary</Button>
<Button type="primary">Primary</Button>
<Button>Default</Button>
<Button type=\"dashed\">Dashed</Button>
<Button type=\"danger\">Danger</Button>
<Button type=\"link\">Link</Button>
<Button type="dashed">Dashed</Button>
<Button type="danger">Danger</Button>
<Button type="link">Link</Button>
</div>
);
}
Expand All @@ -247,11 +343,11 @@ function MyComp(): any {
console.log('test');
return (
<div>
<Button type=\"primary\">Primary</Button>
<Button type="primary">Primary</Button>
<Button>Default</Button>
<Button type=\"dashed\">Dashed</Button>
<Button type=\"danger\">Danger</Button>
<Button type=\"link\">Link</Button>
<Button type="dashed">Dashed</Button>
<Button type="danger">Danger</Button>
<Button type="link">Link</Button>
</div>
);
}
Expand Down

0 comments on commit 5dbf622

Please sign in to comment.