refactor: Enable stricter test linting

This commit is contained in:
Joachim Van Herwegen
2023-10-27 15:53:52 +02:00
parent 6248ed0938
commit 7a007dc466
48 changed files with 179 additions and 155 deletions

View File

@@ -249,7 +249,7 @@ describe('PathUtil', (): void => {
// Note that this test only makes sense as long as the dist folder is on the same level as the src folder
const root = getModuleRoot();
const packageJson = joinFilePath(root, 'package.json');
expect(await fsPromises.access(packageJson)).toBeUndefined();
await expect(fsPromises.access(packageJson)).resolves.toBeUndefined();
});
});