I need to make tests for sync collection
Try it:
let collection = [];
beforeAll( async() => { collection = await getAsyncCollection() }
describe.each(collection)("Test summary for collection", (item)=>{
// ... .each work with empty collection before than finish "befoerAll", which getting this collection, why?
})
How do it right? And why each working before "beforeAll" ?