1
0
mirror of https://github.com/bpatrik/pigallery2.git synced 2025-07-15 01:24:25 +02:00

fixing linting erros. adding tslint to pretest

This commit is contained in:
Patrik J. Braun
2021-04-18 15:48:35 +02:00
parent 2223c87b9e
commit 085d7c2cd9
194 changed files with 3226 additions and 3277 deletions

View File

@ -27,17 +27,17 @@ describe('VideoProcessing', () => {
}
{
const convertedPath = VideoProcessing.generateConvertedFilePath(videoPath);
Config.Server.Media.Video.transcoding.codec = <any>'codec_text';
Config.Server.Media.Video.transcoding.codec = 'codec_text' as any;
expect(await VideoProcessing.isValidConvertedPath(convertedPath)).to.be.false;
}
{
const convertedPath = VideoProcessing.generateConvertedFilePath(videoPath);
Config.Server.Media.Video.transcoding.format = <any>'format_test';
Config.Server.Media.Video.transcoding.format = 'format_test' as any;
expect(await VideoProcessing.isValidConvertedPath(convertedPath)).to.be.false;
}
{
const convertedPath = VideoProcessing.generateConvertedFilePath(videoPath);
Config.Server.Media.Video.transcoding.resolution = <any>1;
Config.Server.Media.Video.transcoding.resolution = 1 as any;
expect(await VideoProcessing.isValidConvertedPath(convertedPath)).to.be.false;
}
});