mirror of
https://github.com/CommunitySolidServer/CommunitySolidServer.git
synced 2024-10-03 14:55:10 +00:00
refactor: Enable stricter test linting
This commit is contained in:
@@ -42,7 +42,7 @@ describe('An HtmlViewHandler', (): void => {
|
||||
];
|
||||
|
||||
templateEngine = {
|
||||
handleSafe: jest.fn().mockReturnValue(Promise.resolve('<html>')),
|
||||
handleSafe: jest.fn().mockResolvedValue('<html>'),
|
||||
} as any;
|
||||
|
||||
handler = new HtmlViewHandler(index, templateEngine, templates);
|
||||
|
||||
Reference in New Issue
Block a user