Skip to content

Commit

Permalink
fix: support printing server/client target statements
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Dec 9, 2024
1 parent b803e19 commit 54885fd
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/__tests__/__snapshots__/static.expected/auto.marko
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ static console.log(
["i", 1],
]),
);
server console.log("server!")
client console.log("client!")
2 changes: 2 additions & 0 deletions src/__tests__/__snapshots__/static.expected/concise.marko
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ static console.log(
["i", 1],
]),
);
server console.log("server!")
client console.log("client!")
2 changes: 2 additions & 0 deletions src/__tests__/__snapshots__/static.expected/html.marko
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ static console.log(
["i", 1],
]),
);
<server console.log("server!")/>
<client console.log("client!")/>
2 changes: 2 additions & 0 deletions src/__tests__/__snapshots__/static.expected/with-parens.marko
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,5 @@ static console.log(
["i", 1],
]),
);
server console.log("server!")
client console.log("client!")
2 changes: 2 additions & 0 deletions src/__tests__/fixtures/static.marko
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ static { console.log("a"); console.log("b"); }
static { console.log("a"); console.log("b"); console.log("c"); console.log("d"); console.log("e"); console.log("f"); console.log("g"); }

static console.log(new Map([["a", 1],["b", 1],["c", 1],["d", 1],["e", 1],["f", 1],["g", 1],["h", 1],["i", 1]]));
server console.log("server!");
client console.log("client!");

0 comments on commit 54885fd

Please sign in to comment.