fix(core-realtime): remove unused PLACEHOLDER var and ClientSocket import (lint)
This commit is contained in:
@@ -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,
|
||||||
|
|||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user