Some tests were failing because they assumed the first page of listFooForBar was sufficient. Fixed them to page through all the results.
Some tests were failing because they take longer than the Jasmine timeout for async callbacks. I spent some time trying to fine-tune the timeouts for each test, but in the end it made more sense to just tell Jasmine to be patient -- all tests now have a timeout of 5 minutes, though most return in under 5 seconds.
I've also moved a lot of test setup code from beforeAll blocks into the individual tests.
Some tests were failing because they assumed the first page of listFooForBar was sufficient. Fixed them to page through all the results.
Some tests were failing because they take longer than the Jasmine timeout for async callbacks. I spent some time trying to fine-tune the timeouts for each test, but in the end it made more sense to just tell Jasmine to be patient -- all tests now have a timeout of 5 minutes, though most return in under 5 seconds.
I've also moved a lot of test setup code from beforeAll blocks into the individual tests.