refactor: Implement empty canHandle on base class. (#289)

This commit is contained in:
Ruben Verborgh
2020-10-30 17:56:39 +01:00
committed by GitHub
parent ac8423d28d
commit 1a45b65df7
19 changed files with 23 additions and 46 deletions

View File

@@ -28,7 +28,7 @@ describe(' A BasicMetadataExtractor', (): void => {
]);
it('can handle all requests.', async(): Promise<void> => {
await expect(handler.canHandle()).resolves.toBeUndefined();
await expect(handler.canHandle({} as any)).resolves.toBeUndefined();
});
it('will add metadata from the parsers.', async(): Promise<void> => {