From 647d5df81a637ff317d9df41f05c4a1fed8387bc Mon Sep 17 00:00:00 2001 From: Florian Rappl Date: Tue, 12 Dec 2023 10:21:22 +0100 Subject: [PATCH] Improved test --- src/pilet-build.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pilet-build.test.ts b/src/pilet-build.test.ts index c8dce7c..5946481 100644 --- a/src/pilet-build.test.ts +++ b/src/pilet-build.test.ts @@ -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)`, ); @@ -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)`, );