Practice ยท 1 of 3
Mini Test Runner
Write runSuite(tests) โ tests is an array of { name, fn }. Run each fn; a test passes when fn doesn't throw. Return { passed, failed, failures } where failures is an array of the failing tests' names (in order). One test throwing must not stop the others.
Difficulty: intermediate
Press Submit to check your solution.
Back to lesson: Practice: Regression Net โ Practice