Skip to main content

Practice ยท 2 of 3

Flaky Quarantine

Write quarantine(history) โ€” history is an array of { name, passed } runs (oldest first, a test may appear many times). Return the names of FLAKY tests: they appear at least twice AND have both at least one pass and one fail. Sort alphabetically.

Difficulty: intermediate

Back to lesson: Practice: Regression Net โ€” Practice