refactor: split some highlight structs away from HighlightController (#6613)
This commit is contained in:
@@ -12,6 +12,8 @@ After you've built Chatterino, you can now run the tests with `ctest` or by manu
|
||||
We expect this to be listening to port 9050, you can launch it like this:
|
||||
`twitch-pubsub-server-test 127.0.0.1:9050`
|
||||
|
||||
Alternatively, you can run the docker-compose defined in this file: `docker compose up` before you run the tests.
|
||||
|
||||
# Modifying message building
|
||||
|
||||
If you make a change that has to do with message building, there's a big chance that some of the snapshot tests will fail.
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
services:
|
||||
http-server:
|
||||
restart: always
|
||||
image: ghcr.io/kevinastone/httpbox:master
|
||||
command: "--port 9051"
|
||||
ports:
|
||||
- "9051:9051"
|
||||
pubsub-server:
|
||||
restart: always
|
||||
image: ghcr.io/chatterino/twitch-pubsub-server-test:latest
|
||||
command: "./server 0.0.0.0:9050 0.0.0.0:9052"
|
||||
ports:
|
||||
- "9050:9050"
|
||||
- "9052:9052"
|
||||
@@ -2,6 +2,7 @@
|
||||
|
||||
#include "controllers/accounts/AccountController.hpp"
|
||||
#include "controllers/highlights/HighlightPhrase.hpp"
|
||||
#include "controllers/highlights/HighlightResult.hpp"
|
||||
#include "messages/MessageBuilder.hpp" // for MessageParseArgs
|
||||
#include "mocks/BaseApplication.hpp"
|
||||
#include "mocks/Helix.hpp"
|
||||
|
||||
Reference in New Issue
Block a user