diff options
| -rw-r--r-- | tests/query/injections/ecma/ecma-test-injections.js | 9 | ||||
| -rw-r--r-- | tests/query/injections/html/test-html-injections.html | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/tests/query/injections/ecma/ecma-test-injections.js b/tests/query/injections/ecma/ecma-test-injections.js new file mode 100644 index 000000000..68d53721a --- /dev/null +++ b/tests/query/injections/ecma/ecma-test-injections.js @@ -0,0 +1,9 @@ +html`<p></p>`; + // ^ html +html(`<p></p>`); + // ^ html +svg`<p></p>`; + // ^ html +svg(`<p></p>`); + // ^ html + diff --git a/tests/query/injections/html/test-html-injections.html b/tests/query/injections/html/test-html-injections.html index 16be762d9..954ce5623 100644 --- a/tests/query/injections/html/test-html-injections.html +++ b/tests/query/injections/html/test-html-injections.html @@ -41,15 +41,6 @@ <!-- ^ json --> <script type="importmap">{ "true": false }</script> <!-- ^ json --> - <script type="module">html`<p></p>`</script> - <!-- ^ html --> - <script type="module">html(`<p></p>`)</script> - <!-- ^ html --> - <script type="module">svg`<p></p>`</script> - <!-- ^ html --> - <script type="module">svg(`<p></p>`)</script> - <!-- ^ html --> - <div style="height: 100%"> <!-- ^ css --> Test div to test css injections for style attributes |
