初始化
This commit is contained in:
87
node_modules/htmlparser2/src/__snapshots__/index.spec.ts.snap
generated
vendored
Normal file
87
node_modules/htmlparser2/src/__snapshots__/index.spec.ts.snap
generated
vendored
Normal file
@@ -0,0 +1,87 @@
|
||||
// Vitest Snapshot v1, https://vitest.dev/guide/snapshot.html
|
||||
|
||||
exports[`Index > createDocumentStream 1`] = `
|
||||
Document {
|
||||
"children": [
|
||||
&This is text,
|
||||
<!-- and comments -->,
|
||||
<tags />,
|
||||
],
|
||||
"endIndex": null,
|
||||
"next": null,
|
||||
"parent": null,
|
||||
"prev": null,
|
||||
"startIndex": null,
|
||||
"type": "root",
|
||||
}
|
||||
`;
|
||||
|
||||
exports[`Index > createDomStream 1`] = `
|
||||
[
|
||||
&This is text,
|
||||
<!-- and comments -->,
|
||||
<tags />,
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`Index > parseDOM 1`] = `
|
||||
[
|
||||
<a
|
||||
foo=""
|
||||
>
|
||||
<b>
|
||||
<c>
|
||||
ProcessingInstruction {
|
||||
"data": "?foo",
|
||||
"endIndex": null,
|
||||
"name": "?foo",
|
||||
"next": Yay!,
|
||||
"parent": <c>
|
||||
[Circular]
|
||||
Yay!
|
||||
</c>,
|
||||
"prev": null,
|
||||
"startIndex": null,
|
||||
"type": "directive",
|
||||
}
|
||||
Yay!
|
||||
</c>
|
||||
</b>
|
||||
</a>,
|
||||
]
|
||||
`;
|
||||
|
||||
exports[`Index > parseDocument 1`] = `
|
||||
Document {
|
||||
"children": [
|
||||
<a
|
||||
foo=""
|
||||
>
|
||||
<b>
|
||||
<c>
|
||||
ProcessingInstruction {
|
||||
"data": "?foo",
|
||||
"endIndex": null,
|
||||
"name": "?foo",
|
||||
"next": Yay!,
|
||||
"parent": <c>
|
||||
[Circular]
|
||||
Yay!
|
||||
</c>,
|
||||
"prev": null,
|
||||
"startIndex": null,
|
||||
"type": "directive",
|
||||
}
|
||||
Yay!
|
||||
</c>
|
||||
</b>
|
||||
</a>,
|
||||
],
|
||||
"endIndex": null,
|
||||
"next": null,
|
||||
"parent": null,
|
||||
"prev": null,
|
||||
"startIndex": null,
|
||||
"type": "root",
|
||||
}
|
||||
`;
|
||||
Reference in New Issue
Block a user