Skip to content

Commit e395850

Browse files
TylerJang27github-actions[bot]
authored andcommitted
Auto add snapshots
1 parent 1052a5b commit e395850

File tree

3 files changed

+106
-0
lines changed

3 files changed

+106
-0
lines changed
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
// trunk-upgrade-validation:RELEASE
3+
4+
exports[`Testing linter markdownlint-cli2 test basic 1`] = `
5+
{
6+
"issues": [
7+
{
8+
"code": "error",
9+
"column": "1",
10+
"file": "test_data/basic.in.md",
11+
"issueClass": "ISSUE_CLASS_EXISTING",
12+
"issueUrl": "https://github.com/DavidAnson/markdownlint/blob/main/doc/Rules.md#error",
13+
"level": "LEVEL_HIGH",
14+
"line": "3",
15+
"linter": "markdownlint-cli2",
16+
"message": "MD025/single-title/single-h1 Multiple top-level headings in the same document [Context: "This file fails some rules"]",
17+
"targetType": "markdown",
18+
},
19+
],
20+
"lintActions": [
21+
{
22+
"command": "lint",
23+
"fileGroupName": "markdown",
24+
"linter": "markdownlint-cli2",
25+
"paths": [
26+
"test_data/basic.in.md",
27+
],
28+
"verb": "TRUNK_VERB_CHECK",
29+
},
30+
{
31+
"command": "lint",
32+
"fileGroupName": "markdown",
33+
"linter": "markdownlint-cli2",
34+
"paths": [
35+
"test_data/basic.in.md",
36+
],
37+
"upstream": true,
38+
"verb": "TRUNK_VERB_CHECK",
39+
},
40+
],
41+
"taskFailures": [],
42+
"unformattedFiles": [],
43+
}
44+
`;
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
// trunk-upgrade-validation:RELEASE
3+
4+
exports[`Testing linter ty test basic 1`] = `
5+
{
6+
"issues": [],
7+
"lintActions": [
8+
{
9+
"command": "check",
10+
"fileGroupName": "python",
11+
"linter": "ty",
12+
"paths": [
13+
"test_data/basic.in.py",
14+
],
15+
"verb": "TRUNK_VERB_CHECK",
16+
},
17+
{
18+
"command": "check",
19+
"fileGroupName": "python",
20+
"linter": "ty",
21+
"paths": [
22+
"test_data/basic.in.py",
23+
],
24+
"upstream": true,
25+
"verb": "TRUNK_VERB_CHECK",
26+
},
27+
],
28+
"taskFailures": [],
29+
"unformattedFiles": [],
30+
}
31+
`;
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
// trunk-upgrade-validation:RELEASE
3+
4+
exports[`Testing linter ty test interface 1`] = `
5+
{
6+
"issues": [],
7+
"lintActions": [
8+
{
9+
"command": "check",
10+
"fileGroupName": "python-interface",
11+
"linter": "ty",
12+
"paths": [
13+
"test_data/interface.in.pyi",
14+
],
15+
"verb": "TRUNK_VERB_CHECK",
16+
},
17+
{
18+
"command": "check",
19+
"fileGroupName": "python-interface",
20+
"linter": "ty",
21+
"paths": [
22+
"test_data/interface.in.pyi",
23+
],
24+
"upstream": true,
25+
"verb": "TRUNK_VERB_CHECK",
26+
},
27+
],
28+
"taskFailures": [],
29+
"unformattedFiles": [],
30+
}
31+
`;

0 commit comments

Comments
 (0)