Update angular-html-parser to v10.8 (#19417)
This commit is contained in:
1 parent
3313b12f46
commit
2be16eca12
8 files changed
+109
-7
No files matched your search
@@ -0,0 +1,86 @@
|
||||
// Jest Snapshot v1, https://jestjs.io/docs/snapshot-testing
|
||||
|
||||
exports[`block-comment.html format[angular] 1`] = `
|
||||
"Opening tag "div" not terminated. (1:1)
|
||||
> 1 | <div /* block comment */></div>
|
||||
| ^^^^^^
|
||||
2 |
|
||||
Cause: Opening tag "div" not terminated."
|
||||
`;
|
||||
|
||||
exports[`block-comment.html format[html] 1`] = `
|
||||
"Opening tag "div" not terminated. (1:1)
|
||||
> 1 | <div /* block comment */></div>
|
||||
| ^^^^^^
|
||||
2 |
|
||||
Cause: Opening tag "div" not terminated."
|
||||
`;
|
||||
|
||||
exports[`block-comment.html format[lwc] 1`] = `
|
||||
"Opening tag "div" not terminated. (1:1)
|
||||
> 1 | <div /* block comment */></div>
|
||||
| ^^^^^^
|
||||
2 |
|
||||
Cause: Opening tag "div" not terminated."
|
||||
`;
|
||||
|
||||
exports[`block-comment.html format[mjml] 1`] = `
|
||||
"Opening tag "div" not terminated. (1:1)
|
||||
> 1 | <div /* block comment */></div>
|
||||
| ^^^^^^
|
||||
2 |
|
||||
Cause: Opening tag "div" not terminated."
|
||||
`;
|
||||
|
||||
exports[`block-comment.html format[vue] 1`] = `
|
||||
"Opening tag "div" not terminated. (1:1)
|
||||
> 1 | <div /* block comment */></div>
|
||||
| ^^^^^^
|
||||
2 |
|
||||
Cause: Opening tag "div" not terminated."
|
||||
`;
|
||||
|
||||
exports[`line-comment.html format[angular] 1`] = `
|
||||
"Opening tag "div" not terminated. (1:1)
|
||||
> 1 | <div // line comment
|
||||
| ^^^^^^
|
||||
2 | ></div>
|
||||
3 |
|
||||
Cause: Opening tag "div" not terminated."
|
||||
`;
|
||||
|
||||
exports[`line-comment.html format[html] 1`] = `
|
||||
"Opening tag "div" not terminated. (1:1)
|
||||
> 1 | <div // line comment
|
||||
| ^^^^^^
|
||||
2 | ></div>
|
||||
3 |
|
||||
Cause: Opening tag "div" not terminated."
|
||||
`;
|
||||
|
||||
exports[`line-comment.html format[lwc] 1`] = `
|
||||
"Opening tag "div" not terminated. (1:1)
|
||||
> 1 | <div // line comment
|
||||
| ^^^^^^
|
||||
2 | ></div>
|
||||
3 |
|
||||
Cause: Opening tag "div" not terminated."
|
||||
`;
|
||||
|
||||
exports[`line-comment.html format[mjml] 1`] = `
|
||||
"Opening tag "div" not terminated. (1:1)
|
||||
> 1 | <div // line comment
|
||||
| ^^^^^^
|
||||
2 | ></div>
|
||||
3 |
|
||||
Cause: Opening tag "div" not terminated."
|
||||
`;
|
||||
|
||||
exports[`line-comment.html format[vue] 1`] = `
|
||||
"Opening tag "div" not terminated. (1:1)
|
||||
> 1 | <div // line comment
|
||||
| ^^^^^^
|
||||
2 | ></div>
|
||||
3 |
|
||||
Cause: Opening tag "div" not terminated."
|
||||
`;
|
||||
@@ -0,0 +1 @@
|
||||
<div /* block comment */></div>
|
||||
@@ -0,0 +1,8 @@
|
||||
runFormatTest(import.meta, [
|
||||
"html",
|
||||
"vue",
|
||||
"lwc",
|
||||
"mjml",
|
||||
// https://github.com/prettier/prettier/issues/18974
|
||||
"angular",
|
||||
]);
|
||||
@@ -0,0 +1,2 @@
|
||||
<div // line comment
|
||||
></div>
|
||||
Reference in new issue
Block a user