[FIX] portal: correctly mount portal content in target created by mount

Previously, blah blah blah
This commit is contained in:
Samuel Degueldre
2022-10-19 13:31:09 +02:00
parent 30d6994836
commit b2cfefd008
2 changed files with 9 additions and 13 deletions
+1 -1
View File
@@ -892,7 +892,7 @@ describe("Portal", () => {
}
await mount(Parent, fixture);
expect(fixture.innerHTML).toBe(
'<span>child</span><div class="portal"></div><span>portal</span>'
'<span>child</span><div class="portal"><span>portal</span></div>'
);
});