chore: Correctly assert test (#9695)
This commit is contained in:
+1
-1
@@ -1190,7 +1190,7 @@ moduleIntegrationTestRunner<IProductModuleService>({
|
|||||||
|
|
||||||
expect(productsWithCollectionOne).toHaveLength(1)
|
expect(productsWithCollectionOne).toHaveLength(1)
|
||||||
|
|
||||||
expect([
|
expect(productsWithCollectionOne).toEqual([
|
||||||
expect.objectContaining({
|
expect.objectContaining({
|
||||||
collection: expect.objectContaining({
|
collection: expect.objectContaining({
|
||||||
id: productCollectionOne.id,
|
id: productCollectionOne.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user