diff --git a/src/testing/index.ts b/src/testing/index.ts index 647d674..a0824bf 100644 --- a/src/testing/index.ts +++ b/src/testing/index.ts @@ -1,3 +1,4 @@ export * from "./MockDataConnection"; export * from "./MockPeer"; export * from "./MockHelper"; +export * from "./EventHook"; diff --git a/src/tests/unit/network.spec.ts b/src/tests/unit/network.spec.ts index dfe425d..4d88a1c 100644 --- a/src/tests/unit/network.spec.ts +++ b/src/tests/unit/network.spec.ts @@ -1,6 +1,5 @@ -import { MockHelper } from "@/testing"; +import { MockHelper, EventHook } from "@/testing"; import { NetworkMessage, LocalClient, ChatMessage } from "@/network"; -import { EventHook } from "@/testing/EventHook"; const sampleRoom = () => ({ max_players: 3,