mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Set max-len to 120
This commit is contained in:
@@ -17,7 +17,8 @@ describe('A SimpleDeleteOperationHandler', (): void => {
|
||||
});
|
||||
|
||||
it('deletes the resource from the store and returns its identifier.', async(): Promise<void> => {
|
||||
await expect(handler.handle({ target: { path: 'url' }} as Operation)).resolves.toEqual({ identifier: { path: 'url' }});
|
||||
await expect(handler.handle({ target: { path: 'url' }} as Operation))
|
||||
.resolves.toEqual({ identifier: { path: 'url' }});
|
||||
expect(store.deleteResource).toHaveBeenCalledTimes(1);
|
||||
expect(store.deleteResource).toHaveBeenLastCalledWith({ path: 'url' });
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user