File: parse-element.test.js.snap

package info (click to toggle)
node-xmldom 0.9.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,944 kB
  • sloc: xml: 39,442; javascript: 10,978; sh: 29; makefile: 2
file content (78 lines) | stat: -rw-r--r-- 1,426 bytes parent folder | download | duplicates (2)
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`] = `
[
  [
    "warning",
    "attribute "lazy/" missed quot(")!",
    {
      "columnNumber": 9,
      "lineNumber": 5,
    },
  ],
]
`;

exports[`XML Node Parse closing tag with unquoted value following / 1`] = `
[
  [
    "warning",
    "attribute "lazy" missed quot(")!",
    {
      "columnNumber": 9,
      "lineNumber": 5,
    },
  ],
]
`;

exports[`XML Node Parse closing tag with unquoted value following space and / 1`] = `
[
  [
    "warning",
    "attribute "lazy" missed quot(")!!",
    {
      "columnNumber": 9,
      "lineNumber": 5,
    },
  ],
]
`;

exports[`XML Node Parse closing tag with unquoted value including /  followed by space / 1`] = `
[
  [
    "warning",
    "attribute "lazy/" missed quot(")!!",
    {
      "columnNumber": 9,
      "lineNumber": 5,
    },
  ],
]
`;

exports[`XML Node Parse closing tag without attribute value 1`] = `
[
  [
    "warning",
    "attribute "lazy" missed value!! "lazy" instead!!",
    {
      "columnNumber": 9,
      "lineNumber": 5,
    },
  ],
]
`;

exports[`XML Node Parse simple attributes should be able to have \`__prototype__\` attribute 1`] = `
{
  "actual": "<xml __prototype__=""/>",
}
`;

exports[`XML Node Parse simple attributes should be able to have \`constructor\` attribute 1`] = `
{
  "actual": "<xml constructor=""/>",
}
`;