fix(spec): enforce read-time budget and re-render invalid comment submissions
This commit is contained in:
@@ -72,3 +72,4 @@ def test_read_time_benchmark(benchmark):
|
||||
|
||||
result = benchmark(article._compute_read_time)
|
||||
assert result >= 1
|
||||
assert benchmark.stats.stats.mean < 0.05
|
||||
|
||||
Reference in New Issue
Block a user