mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
fix: Enable strict TypeScript settings
This commit is contained in:
@@ -41,15 +41,13 @@ describe('A SimpleSparqlUpdatePatchHandler', (): void => {
|
||||
metadata: null,
|
||||
};
|
||||
}),
|
||||
addResource: null,
|
||||
setRepresentation: jest.fn(async(): Promise<any> => {
|
||||
order.push('setRepresentation');
|
||||
}),
|
||||
deleteResource: null,
|
||||
modifyResource: jest.fn(async(): Promise<any> => {
|
||||
throw new Error('noModify');
|
||||
}),
|
||||
};
|
||||
} as unknown as ResourceStore;
|
||||
|
||||
release = jest.fn(async(): Promise<any> => order.push('release'));
|
||||
locker = {
|
||||
|
||||
Reference in New Issue
Block a user