Skip to content

Commit 0bda974

Browse files
ci: apply automated fixes
1 parent d2ac37c commit 0bda974

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

e2e/solid-start/server-functions/src/routes/factory/index.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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) {
173175
function 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>

e2e/solid-start/server-functions/src/routes/middleware/index.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,7 @@ export const Route = createFileRoute('/middleware/')({
77
function 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

e2e/solid-start/server-functions/src/routes/primitives/index.tsx

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,9 +128,5 @@ const testCases = [
128128
] as Array<PrimitiveComponentProps<any>>
129129

130130
function RouteComponent() {
131-
return (
132-
<For each={testCases}>
133-
{(t) => <PrimitiveComponent {...t} />}
134-
</For>
135-
)
131+
return <For each={testCases}>{(t) => <PrimitiveComponent {...t} />}</For>
136132
}

0 commit comments

Comments
 (0)