From a9f92b192129647e043f38d57588a3b6dd184651 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Tue, 10 Sep 2019 12:36:48 +0200 Subject: [PATCH] Minor testing refactor --- src/testing/index.ts | 1 + src/tests/unit/network.spec.ts | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) 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,