We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d39a579 commit 3cde9c2Copy full SHA for 3cde9c2
test/browser/render.test.js
@@ -2014,10 +2014,10 @@ describe('render()', () => {
2014
expect(scratch.innerHTML).to.equal('hello world');
2015
});
2016
it('should hydrate <template> tags ', () => {
2017
- const App = () => <template><h1>it works</h1></template>
2018
- scratch.innerHTML = `<template><h1>it works</h1></template>`
+ const App = () => <template><h1>it works</h1></template>;
+ scratch.innerHTML = `<template><h1>it works</h1></template>`;
2019
2020
render(<App />, scratch);
2021
- expect(scratch.innerHTML).to.equal(`<template><h1>it works</h1></template>`)
+ expect(scratch.innerHTML).to.equal(`<template><h1>it works</h1></template>`);
2022
2023
0 commit comments