From d677958a227d51c0e39e436c53f3483f9491f7e6 Mon Sep 17 00:00:00 2001 From: Franck Royer Date: Fri, 8 Oct 2021 11:12:54 +1100 Subject: [PATCH] Move test near file --- .../status-communities/src/{ => wire}/chat_message.spec.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) rename packages/status-communities/src/{ => wire}/chat_message.spec.ts (93%) diff --git a/packages/status-communities/src/chat_message.spec.ts b/packages/status-communities/src/wire/chat_message.spec.ts similarity index 93% rename from packages/status-communities/src/chat_message.spec.ts rename to packages/status-communities/src/wire/chat_message.spec.ts index ebcc71e..48c0a56 100644 --- a/packages/status-communities/src/chat_message.spec.ts +++ b/packages/status-communities/src/wire/chat_message.spec.ts @@ -3,15 +3,16 @@ import { expect } from "chai"; import { AudioMessage_AudioType, ChatMessage_ContentType, -} from "./proto/communities/v1/chat_message"; -import { ImageType } from "./proto/communities/v1/enums"; +} from "../proto/communities/v1/chat_message"; +import { ImageType } from "../proto/communities/v1/enums"; + import { AudioContent, ChatMessage, ContentType, ImageContent, StickerContent, -} from "./wire/chat_message"; +} from "./chat_message"; describe("Chat Message", () => { it("Encode & decode Image message", () => {