Skip to content

Commit 3e34771

Browse files
committed
fix eslint error
1 parent 02d39be commit 3e34771

File tree

2 files changed

+29
-1
lines changed

2 files changed

+29
-1
lines changed

Diff for: tests/line/__snapshots__/index.test.ts.snap

+28
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,33 @@
11
// Jest Snapshot v1, https://goo.gl/fbAQLP
22

3+
exports[`line Decoration line includes external link 1`] = `
4+
[
5+
{
6+
"indent": 0,
7+
"nodes": [
8+
{
9+
"decos": [
10+
"*-1",
11+
],
12+
"nodes": [
13+
{
14+
"content": "example",
15+
"href": "https://example.com",
16+
"pathType": "absolute",
17+
"raw": "[https://example.com example]",
18+
"type": "link",
19+
},
20+
],
21+
"raw": "[* [https://example.com example]]",
22+
"rawDecos": "*",
23+
"type": "decoration",
24+
},
25+
],
26+
"type": "line",
27+
},
28+
]
29+
`;
30+
331
exports[`line Decoration line includes internal link 1`] = `
432
[
533
{

Diff for: tests/line/index.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ describe("line", () => {
77
expect("[* [Link]]").toMatchSnapshotWhenParsing({ hasTitle: false });
88
});
99

10-
it("Decoration line includes internal link", () => {
10+
it("Decoration line includes external link", () => {
1111
expect("[* [https://example.com example]]").toMatchSnapshotWhenParsing({
1212
hasTitle: false,
1313
});

0 commit comments

Comments
 (0)