diff --git a/e2e/start/basic/app/routes/-server-fns/allow-fn-return-null.tsx b/e2e/start/basic/app/routes/-server-fns/allow-fn-return-null.tsx
index 781b8bc337..2f408d1015 100644
--- a/e2e/start/basic/app/routes/-server-fns/allow-fn-return-null.tsx
+++ b/e2e/start/basic/app/routes/-server-fns/allow-fn-return-null.tsx
@@ -37,14 +37,18 @@ export function AllowServerFnReturnNull() {
{`GET: $allow_return_null_getFn returns`}
- {JSON.stringify(getServerResult ?? '-')}
+ {JSON.stringify(
+ getServerResult !== undefined ? getServerResult : '-',
+ )}
{`POST: $allow_return_null_postFn returns`}
- {JSON.stringify(postServerResult ?? '-')}
+ {JSON.stringify(
+ postServerResult !== undefined ? postServerResult : '-',
+ )}