Skip to content

Commit

Permalink
test: add test for simple elements streaming
Browse files Browse the repository at this point in the history
  • Loading branch information
dario-piotrowicz committed Sep 15, 2022
1 parent 442cfa3 commit b5c015e
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<h1>H1</h1>
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
<h1>H1</h1>
<h2>H2</h2>
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<h1>H1</h1>
<h2>H2</h2>
<h3>H3</h3>
2 changes: 2 additions & 0 deletions src/__tests__/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ declare const inlineScriptValues: unknown[];

it("stream-text", fixture(["Hello", "World"]));

it("stream-elements", fixture(["<h1>H1</h1>", "<h2>H2</h2>", "<h3>H3</h3>"]));

it(
"blocking-scripts",
fixture([
Expand Down

0 comments on commit b5c015e

Please sign in to comment.