()
| 573 | |
| 574 | test('Collection.load with where (One to Many)', async () => { |
| 575 | const getCols = async () => { |
| 576 | const em = orm.em.fork(); |
| 577 | return [ |
| 578 | // (await em.findOneOrFail(Author, { id: 1 })).books, |
| 579 | // (await em.findOneOrFail(Author, { id: 1 })).books, |
| 580 | // (await em.findOneOrFail(Author, { id: 1 })).books, |
| 581 | ...(await em.find(Author, { id: [1, 2, 3] })).map(({ books }) => books), |
| 582 | ]; |
| 583 | }; |
| 584 | const colsA = await getCols(); |
| 585 | const colsB = await getCols(); |
| 586 | /* |
no test coverage detected