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:
@@ -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> => {
|
||||
|
||||
Reference in New Issue
Block a user