You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
assert.ok(inserted,`nothing appended to output element: ${outputElement.innerHTML}`);
266
+
assert.ok(inserted.innerHTML.indexOf('>first stream content</')>-1,`Content was not added to output element: ${outputHtml.cellElement.innerHTML}`);
267
+
assert.ok(inserted.innerHTML.indexOf('>replaced content</')>-1,`Content was not added to output element: ${outputHtml.cellElement.innerHTML}`);
268
+
assert.ok(inserted.innerHTML.indexOf('>second stream content</')===-1,`Content was not replaced in output element: ${outputHtml.cellElement.innerHTML}`);
269
+
});
270
+
271
+
test(`Streaming outputs interleaved with other mime types will produce separate outputs`,async()=>{
assert.ok(firstOutputElement.innerHTML.indexOf('>first stream content</')>-1,`Content was not added to output element: ${outputHtml.cellElement.innerHTML}`);
288
+
assert.ok(secondOutputElement.innerHTML.indexOf('>NameError</')>-1,`Content was not added to output element: ${outputHtml.cellElement.innerHTML}`);
289
+
assert.ok(thirdOutputElement.innerHTML.indexOf('>second stream content</')>-1,`Content was not added to output element: ${outputHtml.cellElement.innerHTML}`);
290
+
});
291
+
244
292
test(`Multiple adjacent streaming outputs, rerendering the first should erase the rest`,async()=>{
0 commit comments