mirror of
https://github.com/simplex-chat/simplex-chat.git
synced 2026-05-11 06:17:08 +00:00
2f604d91ba
* chat types, chat protocol syntax idea * chat message syntax, raw message type * chat message format and parsing * raw chat message parsing test * add message parsing tests * interpret RawChatMessage * use chat message format when sending messages * save contacts and related connections to DB (WIP) * use contacts in all chat commands (add, connect, send, delete) * use contacts when receiving messages and notifications * handle contact not found error * automatically accept connection when CONF is received from the agent
10 lines
200 B
Haskell
10 lines
200 B
Haskell
import MarkdownTests
|
|
import ProtocolTests
|
|
import Test.Hspec
|
|
|
|
main :: IO ()
|
|
main = do
|
|
hspec $ do
|
|
describe "SimpleX chat markdown" markdownTests
|
|
describe "SimpleX chat protocol" protocolTests
|