mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 10:28:47 +00:00
use using
This commit is contained in:
@@ -827,7 +827,7 @@ async function connect(server: Server): Promise<void> {
|
||||
}
|
||||
|
||||
it("you can call server.subscriberCount() when its not a websocket server", async () => {
|
||||
const server = serve({
|
||||
using server = serve({
|
||||
port: 0,
|
||||
fetch(request, server) {
|
||||
return new Response();
|
||||
|
||||
Reference in New Issue
Block a user