refactor: Rename resourceExists to hasResource

The function was also moved to the smaller interface ResourceSet.
This commit is contained in:
Joachim Van Herwegen
2022-02-23 15:41:31 +01:00
parent 2ae5924dde
commit 4404fa07d9
26 changed files with 73 additions and 64 deletions

View File

@@ -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);
});
});