Topic

api

4 min read

The Test Asserted Array Order the API Never Promised

Quick answer: If the API does not guarantee an order, your test should not assert one. Comparing a returned array element-by-element against a fixed sequence makes the test fail whenever

Read article