mirror of
https://github.com/hexastack/hexabot
synced 2025-06-26 18:27:28 +00:00
fix: add requested changes
This commit is contained in:
@@ -256,8 +256,8 @@ describe('ContentController', () => {
|
||||
image: 'image.jpg',
|
||||
},
|
||||
id: '',
|
||||
createdAt: null as unknown as Date,
|
||||
updatedAt: null as unknown as Date,
|
||||
createdAt: new Date(),
|
||||
updatedAt: new Date(),
|
||||
},
|
||||
]);
|
||||
|
||||
@@ -267,7 +267,7 @@ describe('ContentController', () => {
|
||||
mockContentType.id,
|
||||
mockContentType,
|
||||
);
|
||||
expect(result).toEqual([
|
||||
expect(result).toEqualPayload([
|
||||
{
|
||||
entity: mockContentType.id,
|
||||
title: 'store 3',
|
||||
@@ -276,8 +276,6 @@ describe('ContentController', () => {
|
||||
image: 'image.jpg',
|
||||
},
|
||||
id: '',
|
||||
createdAt: null as unknown as Date,
|
||||
updatedAt: null as unknown as Date,
|
||||
},
|
||||
]);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user