Skip to content

Commit

Permalink
Improved test
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianRappl committed Dec 12, 2023
1 parent 29c3c5c commit 647d5df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pilet-build.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ runTests('pilet-build', ({ test, setup }) => {
'src/index.tsx'(content: string) {
return content.replace(
'export function setup(app: PiletApi) {',
`function foobar1234() { return 42; }
`function foobar1234() { return 42; }
export function setup(app: PiletApi) {
console.log(foobar1234)`,
);
Expand All @@ -287,7 +287,7 @@ console.log(foobar1234)`,
'src/index.tsx'(content: string) {
return content.replace(
'export function setup(app: PiletApi) {',
`function foobar1234() { return 42; }
`function foobar1234() { return 42; }
export function setup(app: PiletApi) {
console.log(foobar1234)`,
);
Expand Down

0 comments on commit 647d5df

Please sign in to comment.