fix(core-realtime): remove unused PLACEHOLDER var and ClientSocket import (lint)

This commit is contained in:
2026-05-08 21:16:44 +02:00
parent d4a3f95938
commit 964fabf796
2 changed files with 1 additions and 3 deletions

View File

@@ -1,5 +1,3 @@
const PLACEHOLDER = /\{([a-zA-Z_][a-zA-Z0-9_]*)\}/g;
export function matchChannelTemplate( export function matchChannelTemplate(
template: string, template: string,
candidate: string, candidate: string,

View File

@@ -2,7 +2,7 @@ import { describe, it, expect, beforeEach, afterEach } from "vitest";
import { z } from "zod"; import { z } from "zod";
import { createServer, type Server as HttpServer } from "node:http"; import { createServer, type Server as HttpServer } from "node:http";
import { Server as IOServer } from "socket.io"; import { Server as IOServer } from "socket.io";
import { io as ioClient, type Socket as ClientSocket } from "socket.io-client"; import { io as ioClient } from "socket.io-client";
import type { AddressInfo } from "node:net"; import type { AddressInfo } from "node:net";
import { SocketIORealtimeServer } from "@/socket-io-realtime-server"; import { SocketIORealtimeServer } from "@/socket-io-realtime-server";
import { RealtimeHandlerRegistry } from "@/realtime-handler-registry"; import { RealtimeHandlerRegistry } from "@/realtime-handler-registry";