mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Rename resourceExists to hasResource
The function was also moved to the smaller interface ResourceSet.
This commit is contained in:
@@ -25,7 +25,7 @@ describe('A BaseResourceStore', (): void => {
|
||||
await expect(store.modifyResource(any, any)).rejects.toThrow(NotImplementedHttpError);
|
||||
});
|
||||
|
||||
it('errors on resourceExists.', async(): Promise<void> => {
|
||||
await expect(store.resourceExists(any)).rejects.toThrow(NotImplementedHttpError);
|
||||
it('errors on hasResource.', async(): Promise<void> => {
|
||||
await expect(store.hasResource(any)).rejects.toThrow(NotImplementedHttpError);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user