Skip to content

Commit d50a2ff

Browse files
committed
Fixed tests naming.
1 parent 6fdb00e commit d50a2ff

13 files changed

Lines changed: 2 additions & 648 deletions

.vscode/settings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@
5757
"servly-azure",
5858
"sessionly",
5959
"smoothly",
60+
"subdocument",
6061
"tidily",
6162
"transactly",
6263
"typedly",

block/__snapshots__/assignment.spec.ts.snap

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`block.assignment > simple 1`] = `
4-
[
5-
{
6-
"class": "block.assignment",
7-
"name": "variable",
8-
"value": "value",
9-
},
10-
]
11-
`;
12-
133
exports[`parser.block.assignment > simple 1`] = `
144
[
155
{

block/__snapshots__/code.spec.ts.snap

Lines changed: 0 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -37,41 +37,3 @@ exports[`parser.block.code > simple 1`] = `
3737
},
3838
]
3939
`;
40-
41-
exports[`parser.parser.block.code > html 1`] = `
42-
[
43-
{
44-
"class": "block.code",
45-
"content": [
46-
{
47-
"class": "inline.text",
48-
"value": "code Caption.",
49-
},
50-
],
51-
"language": "html",
52-
"value": "<html>
53-
<head>
54-
<title>Title</title>
55-
</head>
56-
<body>
57-
</body>
58-
</html>",
59-
},
60-
]
61-
`;
62-
63-
exports[`parser.parser.block.code > simple 1`] = `
64-
[
65-
{
66-
"class": "block.code",
67-
"content": [
68-
{
69-
"class": "inline.text",
70-
"value": "Figure Caption.",
71-
},
72-
],
73-
"language": "",
74-
"value": "code block",
75-
},
76-
]
77-
`;

block/__snapshots__/heading.spec.ts.snap

Lines changed: 0 additions & 90 deletions
Original file line numberDiff line numberDiff line change
@@ -1,95 +1,5 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`block.heading > level 1 1`] = `
4-
[
5-
{
6-
"class": "block.heading",
7-
"content": [
8-
{
9-
"class": "inline.text",
10-
"value": "Heading",
11-
},
12-
],
13-
"level": 1,
14-
},
15-
]
16-
`;
17-
18-
exports[`block.heading > level 2 1`] = `
19-
[
20-
{
21-
"class": "block.heading",
22-
"content": [
23-
{
24-
"class": "inline.text",
25-
"value": "Heading",
26-
},
27-
],
28-
"level": 2,
29-
},
30-
]
31-
`;
32-
33-
exports[`block.heading > level 3 1`] = `
34-
[
35-
{
36-
"class": "block.heading",
37-
"content": [
38-
{
39-
"class": "inline.text",
40-
"value": "Heading",
41-
},
42-
],
43-
"level": 3,
44-
},
45-
]
46-
`;
47-
48-
exports[`block.heading > level 4 1`] = `
49-
[
50-
{
51-
"class": "block.heading",
52-
"content": [
53-
{
54-
"class": "inline.text",
55-
"value": "Heading",
56-
},
57-
],
58-
"level": 4,
59-
},
60-
]
61-
`;
62-
63-
exports[`block.heading > level 5 1`] = `
64-
[
65-
{
66-
"class": "block.heading",
67-
"content": [
68-
{
69-
"class": "inline.text",
70-
"value": "Heading",
71-
},
72-
],
73-
"level": 5,
74-
},
75-
]
76-
`;
77-
78-
exports[`block.heading > level 6 1`] = `
79-
[
80-
{
81-
"class": "block.heading",
82-
"content": [
83-
{
84-
"class": "inline.text",
85-
"value": "Heading",
86-
},
87-
],
88-
"level": 6,
89-
},
90-
]
91-
`;
92-
933
exports[`parser.block.heading > level 1 1`] = `
944
[
955
{

block/__snapshots__/import.spec.ts.snap

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,5 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`block.import > simple 1`] = `
4-
[
5-
{
6-
"class": "block.import",
7-
"content": {
8-
"class": "file",
9-
"content": [
10-
{
11-
"class": "block.heading",
12-
"content": [
13-
{
14-
"class": "inline.text",
15-
"value": "Header",
16-
},
17-
],
18-
"level": 1,
19-
},
20-
{
21-
"class": "block.paragraph",
22-
"content": [
23-
{
24-
"class": "inline.text",
25-
"value": "This is a paragraph.
26-
",
27-
},
28-
],
29-
},
30-
],
31-
},
32-
"source": "./example/subdocument",
33-
},
34-
]
35-
`;
36-
373
exports[`parser.block.import > simple 1`] = `
384
[
395
{

block/__snapshots__/math.spec.ts.snap

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`block.math > simple 1`] = `
4-
[
5-
{
6-
"class": "block.math",
7-
"content": [
8-
{
9-
"class": "inline.text",
10-
"value": "Math Caption.",
11-
},
12-
],
13-
"value": "a^2 + b^2 = c^2",
14-
},
15-
]
16-
`;
17-
183
exports[`parser.block.math > simple 1`] = `
194
[
205
{

block/__snapshots__/paragraph.spec.ts.snap

Lines changed: 0 additions & 78 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,5 @@
11
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
22

3-
exports[`block.definitionList > simple 1`] = `
4-
[
5-
{
6-
"class": "block.list.definition",
7-
"content": [
8-
{
9-
"class": "block.list.definition.term",
10-
"content": [
11-
{
12-
"class": "inline.text",
13-
"value": "Term 1
14-
",
15-
},
16-
],
17-
"data": [
18-
{
19-
"class": "block.list.definition.data",
20-
"content": [
21-
{
22-
"class": "inline.text",
23-
"value": "Description 1
24-
",
25-
},
26-
],
27-
},
28-
{
29-
"class": "block.list.definition.data",
30-
"content": [
31-
{
32-
"class": "inline.text",
33-
"value": "Description A
34-
",
35-
},
36-
],
37-
},
38-
],
39-
},
40-
{
41-
"class": "block.list.definition.term",
42-
"content": [
43-
{
44-
"class": "inline.text",
45-
"value": "Term 2
46-
",
47-
},
48-
],
49-
"data": [
50-
{
51-
"class": "block.list.definition.data",
52-
"content": [
53-
{
54-
"class": "inline.text",
55-
"value": "Description 2
56-
",
57-
},
58-
],
59-
},
60-
],
61-
},
62-
],
63-
},
64-
]
65-
`;
66-
67-
exports[`block.paragraph > simple 1`] = `
68-
[
69-
{
70-
"class": "block.paragraph",
71-
"content": [
72-
{
73-
"class": "inline.text",
74-
"value": "This is a single paragraph.",
75-
},
76-
],
77-
},
78-
]
79-
`;
80-
813
exports[`parser.block.definitionList > simple 1`] = `
824
[
835
{

0 commit comments

Comments
 (0)