@@ -66,8 +66,8 @@ describe('system', () => {
6666 ( ) => {
6767 describe ( 'commonFileExt()' , ( ) => {
6868 it ( 'should return common file types' , ( ) => {
69- const fileExt = faker . system . commonFileExt ( ) ;
70- const extList = [
69+ const actual = faker . system . commonFileExt ( ) ;
70+ const extensions = [
7171 'gif' ,
7272 'htm' ,
7373 'html' ,
@@ -96,11 +96,11 @@ describe('system', () => {
9696 ] ;
9797
9898 expect (
99- extList ,
100- `generated common file ext should be one of [${ extList . join (
99+ extensions ,
100+ `generated common file ext should be one of [${ extensions . join (
101101 ', '
102- ) } ]. Got "${ fileExt } ".`
103- ) . include ( fileExt ) ;
102+ ) } ]. Got "${ actual } ".`
103+ ) . include ( actual ) ;
104104 } ) ;
105105 } ) ;
106106
@@ -164,15 +164,15 @@ describe('system', () => {
164164
165165 describe ( 'fileExt()' , ( ) => {
166166 it ( 'should return file ext' , ( ) => {
167- const fileExt = faker . system . fileExt ( ) ;
167+ const actual = faker . system . fileExt ( ) ;
168168
169- expect ( fileExt ) . toBeTypeOf ( 'string' ) ;
170- expect ( fileExt ) . not . toBe ( '' ) ;
169+ expect ( actual ) . toBeTypeOf ( 'string' ) ;
170+ expect ( actual ) . not . toBe ( '' ) ;
171171 } ) ;
172172
173173 it ( 'should return file ext based on mimeType' , ( ) => {
174- const fileExt = faker . system . fileExt ( 'text/plain' ) ;
175- const extList = [
174+ const actual = faker . system . fileExt ( 'text/plain' ) ;
175+ const extensions = [
176176 'txt' ,
177177 'text' ,
178178 'conf' ,
@@ -184,11 +184,11 @@ describe('system', () => {
184184 ] ;
185185
186186 expect (
187- extList ,
188- `generated common file ext should be one of [${ extList . join (
187+ extensions ,
188+ `generated common file ext should be one of [${ extensions . join (
189189 ','
190- ) } ]. Got "${ fileExt } ".`
191- ) . include ( fileExt ) ;
190+ ) } ]. Got "${ actual } ".`
191+ ) . include ( actual ) ;
192192 } ) ;
193193 } ) ;
194194
0 commit comments