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

@@ -5,7 +5,7 @@ describe('An UnsecureWebIdExtractor', (): void => {
const extractor = new UnsecureWebIdExtractor();
it('can handle all input.', async(): Promise<void> => {
await expect(extractor.canHandle()).resolves.toBeUndefined();
await expect(extractor.canHandle({} as HttpRequest)).resolves.toBeUndefined();
});
it('returns undefined if there is no input.', async(): Promise<void> => {