Skip to content

Commit df53ef1

Browse files
committed
Cleanups
1 parent 55d4ba4 commit df53ef1

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

packages/next/src/server/app-render/action-handler.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1200,7 +1200,7 @@ async function executeActionAndPrepareForRender<
12001200

12011201
// If the action called revalidateTag/revalidatePath, then that might
12021202
// affect data used by the subsequent render, so we need to make sure all
1203-
// revalidations are applied before that
1203+
// revalidations are applied before that.
12041204
await executeRevalidates(workStore)
12051205
}
12061206
}

test/e2e/app-dir/actions-streaming/actions-streaming.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ describe('actions-streaming', () => {
3131
expect(await browser.elementByCss('h3').text()).toBe(
3232
'Received 50 chunks'
3333
)
34-
3534
expect(await browser.elementById('stream-button').text()).toBe(
3635
'Start Stream'
3736
)

test/e2e/app-dir/actions-streaming/app/readable-stream/api/route.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ export async function GET() {
1212
await setTimeout(100)
1313
controller.enqueue(encoder.encode(loremIpsum))
1414
}
15-
1615
controller.close()
1716
},
1817
})

test/e2e/app-dir/actions-streaming/app/readable-stream/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default function Page() {
3131
}
3232

3333
return (
34-
<div style={{ marginTop: '1rem' }}>
34+
<div>
3535
<button disabled={isStreaming} onClick={handleClick} id="stream-button">
3636
{isStreaming ? 'Streaming...' : 'Start Stream'}
3737
</button>

0 commit comments

Comments
 (0)