File tree Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Expand file tree Collapse file tree 1 file changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -2,23 +2,23 @@ import {canBeConvertedToPDF} from './validations';
2
2
3
3
it . each `
4
4
filename
5
- ${ 'image .docx' }
6
- ${ 'image .pdf' }
5
+ ${ 'document .docx' }
6
+ ${ 'document .pdf' }
7
7
` ( 'should return true for supported filename $filename' , ( { filename} ) => {
8
8
expect ( canBeConvertedToPDF ( filename ) ) . toEqual ( true ) ;
9
9
} ) ;
10
10
11
11
it . each `
12
12
filename
13
- ${ 'image .mpp' }
14
- ${ 'image .msg' }
13
+ ${ 'project .mpp' }
14
+ ${ 'email .msg' }
15
15
${ 'image.jpg' }
16
- ${ 'image .mp4' }
17
- ${ 'image .mp3' }
18
- ${ 'image .wav' }
19
- ${ 'image .chm' }
20
- ${ 'image .gdoc' }
21
- ${ 'image .dwg' }
16
+ ${ 'video .mp4' }
17
+ ${ 'audio .mp3' }
18
+ ${ 'sound .wav' }
19
+ ${ 'help .chm' }
20
+ ${ 'google-doc .gdoc' }
21
+ ${ 'drawing .dwg' }
22
22
` ( 'should return false for unsupported filename $filename' , ( { filename} ) => {
23
23
expect ( canBeConvertedToPDF ( filename ) ) . toEqual ( false ) ;
24
24
} ) ;
You can’t perform that action at this time.
0 commit comments