Fix compialtion for all tests

This commit is contained in:
Joseph Johansen 2024-06-21 18:22:42 +01:00
parent 5b175f6b33
commit f52ef639ed
1 changed files with 0 additions and 2 deletions

View File

@ -17,8 +17,6 @@ require "../src/invidious/jobs/*"
require "spectator" require "spectator"
CONFIG = Config.from_yaml(File.open("config/config.example.yml")) CONFIG = Config.from_yaml(File.open("config/config.example.yml"))
OUTPUT = CONFIG.output.upcase == "STDOUT" ? STDOUT : File.open(CONFIG.output, mode: "a")
LOGGER = Invidious::LogHandler.new(OUTPUT, CONFIG.log_level)
Spectator.configure do |config| Spectator.configure do |config|
config.fail_blank config.fail_blank