mirror of
https://gitea.invidious.io/iv-org/shard-spectator.git
synced 2024-08-15 00:53:35 +00:00
Add fail-fast to config
This commit is contained in:
parent
fe81586527
commit
9e63c20df2
4 changed files with 24 additions and 1 deletions
|
@ -2,7 +2,9 @@ require "./spec_helper"
|
|||
|
||||
# Creates a `Config` for Spectator that is suited for testing it.
|
||||
def spectator_test_config(formatter : Spectator::Formatting::Formatter? = nil)
|
||||
Spectator::Config.new(formatter || Spectator::Formatting::SilentFormatter.new)
|
||||
builder = Spectator::ConfigBuilder.new
|
||||
builder.formatter = formatter || Spectator::Formatting::SilentFormatter.new
|
||||
builder.build
|
||||
end
|
||||
|
||||
def new_test_suite
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue