Skip to content

Commit f293131

Browse files
committed
fix test
1 parent c2634df commit f293131

File tree

8 files changed

+856
-824
lines changed

8 files changed

+856
-824
lines changed
Lines changed: 107 additions & 103 deletions
Original file line numberDiff line numberDiff line change
@@ -1,109 +1,113 @@
11
{
2-
"node": {
3-
"type": 0,
4-
"childNodes": [
5-
{
6-
"type": 1,
7-
"name": "html",
8-
"publicId": "",
9-
"systemId": "",
10-
"id": 2
11-
},
12-
{
13-
"type": 2,
14-
"tagName": "html",
15-
"attributes": {},
16-
"childNodes": [
17-
{
18-
"type": 2,
19-
"tagName": "head",
20-
"attributes": {},
21-
"childNodes": [
22-
{
23-
"type": 2,
24-
"tagName": "meta",
25-
"attributes": {
26-
"charset": "utf-8"
2+
"type": 2,
3+
"data": {
4+
"node": {
5+
"type": 0,
6+
"childNodes": [
7+
{
8+
"type": 1,
9+
"name": "html",
10+
"publicId": "",
11+
"systemId": "",
12+
"id": 2
13+
},
14+
{
15+
"type": 2,
16+
"tagName": "html",
17+
"attributes": {},
18+
"childNodes": [
19+
{
20+
"type": 2,
21+
"tagName": "head",
22+
"attributes": {},
23+
"childNodes": [
24+
{
25+
"type": 2,
26+
"tagName": "meta",
27+
"attributes": {
28+
"charset": "utf-8"
29+
},
30+
"childNodes": [],
31+
"id": 5
32+
}
33+
],
34+
"id": 4
35+
},
36+
{
37+
"type": 3,
38+
"textContent": "\n ",
39+
"id": 6
40+
},
41+
{
42+
"type": 2,
43+
"tagName": "body",
44+
"attributes": {},
45+
"childNodes": [
46+
{
47+
"type": 3,
48+
"textContent": "\n ",
49+
"id": 8
2750
},
28-
"childNodes": [],
29-
"id": 5
30-
}
31-
],
32-
"id": 4
33-
},
34-
{
35-
"type": 3,
36-
"textContent": "\n ",
37-
"id": 6
38-
},
39-
{
40-
"type": 2,
41-
"tagName": "body",
42-
"attributes": {},
43-
"childNodes": [
44-
{
45-
"type": 3,
46-
"textContent": "\n ",
47-
"id": 8
48-
},
49-
{
50-
"type": 2,
51-
"tagName": "button",
52-
"attributes": {
53-
"onclick": "console.log('Test log 1')",
54-
"id": "button1"
51+
{
52+
"type": 2,
53+
"tagName": "button",
54+
"attributes": {
55+
"onclick": "console.log('Test log 1')",
56+
"id": "button1"
57+
},
58+
"childNodes": [
59+
{
60+
"type": 3,
61+
"textContent": "***** **",
62+
"id": 10
63+
}
64+
],
65+
"id": 9
5566
},
56-
"childNodes": [
57-
{
58-
"type": 3,
59-
"textContent": "***** **",
60-
"id": 10
61-
}
62-
],
63-
"id": 9
64-
},
65-
{
66-
"type": 3,
67-
"textContent": "\n ",
68-
"id": 11
69-
},
70-
{
71-
"type": 2,
72-
"tagName": "button",
73-
"attributes": {
74-
"onclick": "console.log('Test log 2')",
75-
"id": "button2"
67+
{
68+
"type": 3,
69+
"textContent": "\n ",
70+
"id": 11
7671
},
77-
"childNodes": [
78-
{
79-
"type": 3,
80-
"textContent": "***** **",
81-
"id": 13
82-
}
83-
],
84-
"id": 12
85-
},
86-
{
87-
"type": 3,
88-
"textContent": "\n ",
89-
"id": 14
90-
},
91-
{
92-
"type": 3,
93-
"textContent": "\n\n",
94-
"id": 15
95-
}
96-
],
97-
"id": 7
98-
}
99-
],
100-
"id": 3
101-
}
102-
],
103-
"id": 1
72+
{
73+
"type": 2,
74+
"tagName": "button",
75+
"attributes": {
76+
"onclick": "console.log('Test log 2')",
77+
"id": "button2"
78+
},
79+
"childNodes": [
80+
{
81+
"type": 3,
82+
"textContent": "***** **",
83+
"id": 13
84+
}
85+
],
86+
"id": 12
87+
},
88+
{
89+
"type": 3,
90+
"textContent": "\n ",
91+
"id": 14
92+
},
93+
{
94+
"type": 3,
95+
"textContent": "\n\n",
96+
"id": 15
97+
}
98+
],
99+
"id": 7
100+
}
101+
],
102+
"id": 3
103+
}
104+
],
105+
"id": 1
106+
},
107+
"initialOffset": {
108+
"left": 0,
109+
"top": 0
110+
}
104111
},
105-
"initialOffset": {
106-
"left": 0,
107-
"top": 0
108-
}
112+
"timestamp": [timestamp]
109113
}

0 commit comments

Comments
 (0)