Skip to content

Commit e276775

Browse files
authored
fix e2e (#609)
1 parent 4e1ed0d commit e276775

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

examples/app-router/app/api/sse/route.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
1-
import { wait } from "@open-next/utils";
21
import type { NextRequest } from "next/server";
32

3+
function wait(ms: number) {
4+
return new Promise((resolve) => {
5+
setTimeout(resolve, ms);
6+
});
7+
}
8+
49
export const dynamic = "force-dynamic";
510

611
export async function GET(request: NextRequest) {

0 commit comments

Comments
 (0)