You've already forked pigallery2
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:
@ -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;
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user