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
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`html without reported errors html attribute (missing quote) 1`] = `
{
"actual": "<img attr="1" xmlns="http://www.w3.org/1999/xhtml"/>",
"errors": [
[
"warning",
"attribute "1" missed quot(")!",
{
"columnNumber": 11,
"lineNumber": 1,
},
],
],
}
`;
exports[`html without reported errors text/html attribute (missing =) 1`] = `
{
"actual": "<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" profile="ecmascript" id="scxmlRoot" initial="start">
<!--
some comment (next line is empty)
-->
<state id="start" name="start">
<transition event="init" name="init" target="main_state"></transition>
</state>
</scxml>",
"errors": [
[
"warning",
"attribute value must after "="",
{
"columnNumber": 11,
"lineNumber": 11,
},
],
],
}
`;
exports[`html without reported errors text/xml attribute (missing =) 1`] = `
{
"actual": "<scxml xmlns="http://www.w3.org/2005/07/scxml" version="1.0" profile="ecmascript" id="scxmlRoot" initial="start">
<!--
some comment (next line is empty)
-->
<state id="start" name="start">
<transition event="init" name="init" target="main_state"/>
</state>
</scxml>",
"errors": [
[
"warning",
"attribute value must after "="",
{
"columnNumber": 11,
"lineNumber": 11,
},
],
],
}
`;
exports[`html without reported errors unclosed document 1`] = `
{
"actual": "<img xmlns="http://www.w3.org/1999/xhtml"/>",
}
`;
|