Phase 5 cleanup
This commit is contained in:
parent
5536acd67d
commit
76a516a417
136 changed files with 6322 additions and 1985 deletions
|
|
@ -49,7 +49,11 @@ describe(StoresService.name, () => {
|
|||
const store = { _id: 'st-1', name: 'CVS' };
|
||||
mockRepo.create.mockResolvedValue(store);
|
||||
|
||||
const result = await service.create({ name: 'CVS', tags: [], isActive: true } as never, 'hh1', 'user-1');
|
||||
const result = await service.create(
|
||||
{ name: 'CVS', tags: [], isActive: true } as never,
|
||||
'hh1',
|
||||
'user-1',
|
||||
);
|
||||
|
||||
expect(result).toEqual(store);
|
||||
expect(mockRepo.create).toHaveBeenCalledWith(expect.anything(), 'hh1', 'user-1');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue