-
Notifications
You must be signed in to change notification settings - Fork 84
/
parse-element.test.js.snap
78 lines (69 loc) · 1.84 KB
/
parse-element.test.js.snap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`XML Node Parse closing tag with unquoted value ending with // 1`] = `
Object {
"warning": Array [
"[xmldom warning] attribute \\"lazy/\\" missed quot(\\")!
@#[line:3,col:3]",
],
}
`;
exports[`XML Node Parse closing tag with unquoted value following / 1`] = `
Object {
"warning": Array [
"[xmldom warning] attribute \\"lazy\\" missed quot(\\")!
@#[line:3,col:3]",
],
}
`;
exports[`XML Node Parse closing tag with unquoted value following space and / 1`] = `
Object {
"warning": Array [
"[xmldom warning] attribute \\"lazy\\" missed quot(\\")!!
@#[line:3,col:3]",
],
}
`;
exports[`XML Node Parse closing tag with unquoted value including / followed by space / 1`] = `
Object {
"warning": Array [
"[xmldom warning] attribute \\"lazy/\\" missed quot(\\")!!
@#[line:3,col:3]",
],
}
`;
exports[`XML Node Parse closing tag without attribute value 1`] = `
Object {
"warning": Array [
"[xmldom warning] attribute \\"lazy\\" missed value!! \\"lazy\\" instead!!
@#[line:3,col:3]",
],
}
`;
exports[`XML Node Parse namespaced attributes unclosed root tag will be closed 1`] = `
Object {
"actual": "<xml xmlns=\\"1\\" xmlns:a=\\"2\\" a:test=\\"3/\\"/>",
"warning": Array [
"[xmldom warning] unclosed xml attribute
@#[line:1,col:1]",
],
}
`;
exports[`XML Node Parse simple attributes should be able to have \`__prototype__\` attribute 1`] = `
Object {
"actual": "<xml __prototype__=\\"\\"/>",
}
`;
exports[`XML Node Parse simple attributes should be able to have \`constructor\` attribute 1`] = `
Object {
"actual": "<xml constructor=\\"\\"/>",
}
`;
exports[`XML Node Parse simple attributes unclosed root tag will be closed 1`] = `
Object {
"actual": "<xml a=\\"1\\" b=\\"2/\\"/>",
"warning": Array [
"[xmldom warning] unclosed xml attribute
@#[line:1,col:1]",
],
}
`;