File tree Expand file tree Collapse file tree 3 files changed +6
-12
lines changed
e2e/solid-start/server-functions/src/routes Expand file tree Collapse file tree 3 files changed +6
-12
lines changed Original file line number Diff line number Diff line change @@ -139,7 +139,9 @@ function Test(props: TestCase) {
139139 It should return{ ' ' }
140140 < code >
141141 < pre data-testid = { `expected-fn-result-${ props . expected . name } ` } >
142- { props . type === 'serverFn' ? JSON . stringify ( props . expected ) : 'localFn' }
142+ { props . type === 'serverFn'
143+ ? JSON . stringify ( props . expected )
144+ : 'localFn' }
143145 </ pre >
144146 </ code >
145147 </ div >
@@ -173,9 +175,7 @@ function Test(props: TestCase) {
173175function RouteComponent ( ) {
174176 return (
175177 < div class = "p-2 m-2 grid gap-2" data-testid = "factory-route-component" >
176- < h1 class = "font-bold text-lg" >
177- Server functions middleware E2E tests
178- </ h1 >
178+ < h1 class = "font-bold text-lg" > Server functions middleware E2E tests</ h1 >
179179 < For each = { Object . entries ( functions ) } >
180180 { ( [ name , testCase ] ) => < Test { ...testCase } /> }
181181 </ For >
Original file line number Diff line number Diff line change @@ -7,9 +7,7 @@ export const Route = createFileRoute('/middleware/')({
77function RouteComponent ( ) {
88 return (
99 < div class = "p-8" >
10- < h1 class = "font-bold text-lg" >
11- Server functions middleware E2E tests
12- </ h1 >
10+ < h1 class = "font-bold text-lg" > Server functions middleware E2E tests</ h1 >
1311 < ul class = "list-disc p-4" >
1412 < li >
1513 < Route . Link
Original file line number Diff line number Diff line change @@ -128,9 +128,5 @@ const testCases = [
128128] as Array < PrimitiveComponentProps < any > >
129129
130130function RouteComponent ( ) {
131- return (
132- < For each = { testCases } >
133- { ( t ) => < PrimitiveComponent { ...t } /> }
134- </ For >
135- )
131+ return < For each = { testCases } > { ( t ) => < PrimitiveComponent { ...t } /> } </ For >
136132}
You can’t perform that action at this time.
0 commit comments