mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Implement empty canHandle on base class. (#289)
This commit is contained in:
@@ -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> => {
|
||||
|
||||
Reference in New Issue
Block a user