Skip to content

Commit

Permalink
test: LOAPI-15 adjusted file names
Browse files Browse the repository at this point in the history
  • Loading branch information
DrewsAbuse committed Jan 3, 2025
1 parent d74ce20 commit a025ec5
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions src/validations.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,23 @@ import {canBeConvertedToPDF} from './validations';

it.each`
filename
${'image.docx'}
${'image.pdf'}
${'document.docx'}
${'document.pdf'}
`('should return true for supported filename $filename', ({filename}) => {
expect(canBeConvertedToPDF(filename)).toEqual(true);
});

it.each`
filename
${'image.mpp'}
${'image.msg'}
${'project.mpp'}
${'email.msg'}
${'image.jpg'}
${'image.mp4'}
${'image.mp3'}
${'image.wav'}
${'image.chm'}
${'image.gdoc'}
${'image.dwg'}
${'video.mp4'}
${'audio.mp3'}
${'sound.wav'}
${'help.chm'}
${'google-doc.gdoc'}
${'drawing.dwg'}
`('should return false for unsupported filename $filename', ({filename}) => {
expect(canBeConvertedToPDF(filename)).toEqual(false);
});

0 comments on commit a025ec5

Please sign in to comment.