/
parse-element.test.js.snap
51 lines (45 loc) · 1.24 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
// 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 including / followed by space / 1`] = `
Object {
"warning": Array [
"[xmldom warning] attribute \\"lazy/\\" missed quot(\\")!!
@#[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]",
],
}
`;