Skip to content

Commit 3d61aff

Browse files
TylerJang27github-actions[bot]
authored andcommitted
Auto add snapshots
1 parent d8a09fc commit 3d61aff

10 files changed

Lines changed: 781 additions & 0 deletions
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
// trunk-upgrade-validation:RELEASE
3+
4+
exports[`Testing linter cspell test basic 1`] = `
5+
{
6+
"issues": [],
7+
"lintActions": [
8+
{
9+
"command": "lint",
10+
"fileGroupName": "ALL",
11+
"linter": "cspell",
12+
"paths": [
13+
"test_data/basic_md.in.md",
14+
],
15+
"verb": "TRUNK_VERB_CHECK",
16+
},
17+
{
18+
"command": "lint",
19+
"fileGroupName": "ALL",
20+
"linter": "cspell",
21+
"paths": [
22+
"test_data/basic_py.in.py",
23+
],
24+
"verb": "TRUNK_VERB_CHECK",
25+
},
26+
{
27+
"command": "lint",
28+
"fileGroupName": "ALL",
29+
"linter": "cspell",
30+
"paths": [
31+
"test_data/basic_ts.in.ts",
32+
],
33+
"verb": "TRUNK_VERB_CHECK",
34+
},
35+
{
36+
"command": "lint",
37+
"fileGroupName": "ALL",
38+
"linter": "cspell",
39+
"paths": [
40+
"test_data/empty.in.txt",
41+
],
42+
"verb": "TRUNK_VERB_CHECK",
43+
},
44+
{
45+
"command": "lint",
46+
"fileGroupName": "ALL",
47+
"linter": "cspell",
48+
"paths": [
49+
"test_data/basic_md.in.md",
50+
],
51+
"upstream": true,
52+
"verb": "TRUNK_VERB_CHECK",
53+
},
54+
{
55+
"command": "lint",
56+
"fileGroupName": "ALL",
57+
"linter": "cspell",
58+
"paths": [
59+
"test_data/basic_py.in.py",
60+
],
61+
"upstream": true,
62+
"verb": "TRUNK_VERB_CHECK",
63+
},
64+
{
65+
"command": "lint",
66+
"fileGroupName": "ALL",
67+
"linter": "cspell",
68+
"paths": [
69+
"test_data/basic_ts.in.ts",
70+
],
71+
"upstream": true,
72+
"verb": "TRUNK_VERB_CHECK",
73+
},
74+
{
75+
"command": "lint",
76+
"fileGroupName": "ALL",
77+
"linter": "cspell",
78+
"paths": [
79+
"test_data/empty.in.txt",
80+
],
81+
"upstream": true,
82+
"verb": "TRUNK_VERB_CHECK",
83+
},
84+
],
85+
"taskFailures": [],
86+
"unformattedFiles": [],
87+
}
88+
`;
Lines changed: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
// trunk-upgrade-validation:RELEASE
3+
4+
exports[`Testing linter cspell test dictionary 1`] = `
5+
{
6+
"issues": [],
7+
"lintActions": [
8+
{
9+
"command": "lint",
10+
"fileGroupName": "ALL",
11+
"linter": "cspell",
12+
"paths": [
13+
"test_data/basic_md.in.md",
14+
],
15+
"verb": "TRUNK_VERB_CHECK",
16+
},
17+
{
18+
"command": "lint",
19+
"fileGroupName": "ALL",
20+
"linter": "cspell",
21+
"paths": [
22+
"test_data/basic_py.in.py",
23+
],
24+
"verb": "TRUNK_VERB_CHECK",
25+
},
26+
{
27+
"command": "lint",
28+
"fileGroupName": "ALL",
29+
"linter": "cspell",
30+
"paths": [
31+
"test_data/basic_ts.in.ts",
32+
],
33+
"verb": "TRUNK_VERB_CHECK",
34+
},
35+
{
36+
"command": "lint",
37+
"fileGroupName": "ALL",
38+
"linter": "cspell",
39+
"paths": [
40+
"test_data/empty.in.txt",
41+
],
42+
"verb": "TRUNK_VERB_CHECK",
43+
},
44+
{
45+
"command": "lint",
46+
"fileGroupName": "ALL",
47+
"linter": "cspell",
48+
"paths": [
49+
"test_data/basic_md.in.md",
50+
],
51+
"upstream": true,
52+
"verb": "TRUNK_VERB_CHECK",
53+
},
54+
{
55+
"command": "lint",
56+
"fileGroupName": "ALL",
57+
"linter": "cspell",
58+
"paths": [
59+
"test_data/basic_py.in.py",
60+
],
61+
"upstream": true,
62+
"verb": "TRUNK_VERB_CHECK",
63+
},
64+
{
65+
"command": "lint",
66+
"fileGroupName": "ALL",
67+
"linter": "cspell",
68+
"paths": [
69+
"test_data/basic_ts.in.ts",
70+
],
71+
"upstream": true,
72+
"verb": "TRUNK_VERB_CHECK",
73+
},
74+
{
75+
"command": "lint",
76+
"fileGroupName": "ALL",
77+
"linter": "cspell",
78+
"paths": [
79+
"test_data/empty.in.txt",
80+
],
81+
"upstream": true,
82+
"verb": "TRUNK_VERB_CHECK",
83+
},
84+
],
85+
"taskFailures": [],
86+
"unformattedFiles": [],
87+
}
88+
`;
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: 88 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,88 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
// trunk-upgrade-validation:RELEASE
3+
4+
exports[`Testing linter renovate test CUSTOM 1`] = `
5+
{
6+
"issues": [
7+
{
8+
"code": "error",
9+
"file": "test_data/renovate.json",
10+
"issueClass": "ISSUE_CLASS_EXISTING",
11+
"level": "LEVEL_HIGH",
12+
"linter": "renovate",
13+
"message": "INFO: Validating test_data/renovate.json as global config",
14+
"targetType": "renovate-config",
15+
},
16+
{
17+
"code": "error",
18+
"file": "test_data/renovate.json5",
19+
"issueClass": "ISSUE_CLASS_EXISTING",
20+
"level": "LEVEL_HIGH",
21+
"linter": "renovate",
22+
"message": "INFO: Validating test_data/renovate.json5 as global config",
23+
"targetType": "renovate-config",
24+
},
25+
],
26+
"lintActions": [
27+
{
28+
"command": "validate",
29+
"fileGroupName": "renovate-config",
30+
"linter": "renovate",
31+
"paths": [
32+
"test_data/.renovaterc.json",
33+
],
34+
"verb": "TRUNK_VERB_CHECK",
35+
},
36+
{
37+
"command": "validate",
38+
"fileGroupName": "renovate-config",
39+
"linter": "renovate",
40+
"paths": [
41+
"test_data/renovate.json",
42+
],
43+
"verb": "TRUNK_VERB_CHECK",
44+
},
45+
{
46+
"command": "validate",
47+
"fileGroupName": "renovate-config",
48+
"linter": "renovate",
49+
"paths": [
50+
"test_data/renovate.json5",
51+
],
52+
"verb": "TRUNK_VERB_CHECK",
53+
},
54+
{
55+
"command": "validate",
56+
"fileGroupName": "renovate-config",
57+
"linter": "renovate",
58+
"paths": [
59+
"test_data/.renovaterc.json",
60+
],
61+
"upstream": true,
62+
"verb": "TRUNK_VERB_CHECK",
63+
},
64+
{
65+
"command": "validate",
66+
"fileGroupName": "renovate-config",
67+
"linter": "renovate",
68+
"paths": [
69+
"test_data/renovate.json",
70+
],
71+
"upstream": true,
72+
"verb": "TRUNK_VERB_CHECK",
73+
},
74+
{
75+
"command": "validate",
76+
"fileGroupName": "renovate-config",
77+
"linter": "renovate",
78+
"paths": [
79+
"test_data/renovate.json5",
80+
],
81+
"upstream": true,
82+
"verb": "TRUNK_VERB_CHECK",
83+
},
84+
],
85+
"taskFailures": [],
86+
"unformattedFiles": [],
87+
}
88+
`;
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
// Jest Snapshot v1, https://goo.gl/fbAQLP
2+
// trunk-upgrade-validation:RELEASE
3+
4+
exports[`Testing linter ruff-nbqa test basic_nb 1`] = `
5+
{
6+
"issues": [
7+
{
8+
"code": "error",
9+
"file": "test_data/basic_nb.in.ipynb",
10+
"issueClass": "ISSUE_CLASS_EXISTING",
11+
"level": "LEVEL_HIGH",
12+
"linter": "ruff-nbqa",
13+
"message": "F401 [*] \`os\` imported but unused
14+
--> /tmp/plugins_/test_data/basic_nb.in.ipynb:2:8
15+
|
16+
1 | # %%NBQA-CELL-SEP
17+
2 | import os
18+
| ^^
19+
3 |
20+
4 | print("Hello World!")
21+
|
22+
help: Remove unused import: \`os\`",
23+
"targetType": "jupyter",
24+
},
25+
],
26+
"lintActions": [
27+
{
28+
"command": "lint",
29+
"fileGroupName": "jupyter",
30+
"linter": "ruff-nbqa",
31+
"paths": [
32+
"test_data/basic_nb.in.ipynb",
33+
],
34+
"verb": "TRUNK_VERB_CHECK",
35+
},
36+
{
37+
"command": "lint",
38+
"fileGroupName": "jupyter",
39+
"linter": "ruff-nbqa",
40+
"paths": [
41+
"test_data/basic_nb.in.ipynb",
42+
],
43+
"upstream": true,
44+
"verb": "TRUNK_VERB_CHECK",
45+
},
46+
],
47+
"taskFailures": [],
48+
"unformattedFiles": [],
49+
}
50+
`;

0 commit comments

Comments
 (0)