@@ -5,7 +5,7 @@ const os = require('os');
55const { join} = require ( 'path' ) ;
66
77const tryToCatch = require ( 'try-to-catch' ) ;
8- const test = require ( 'tape ' ) ;
8+ const test = require ( 'supertape ' ) ;
99const files = require ( '..' ) ;
1010
1111test ( 'files: read' , async ( t ) => {
@@ -20,7 +20,7 @@ test('files: read', async (t) => {
2020 const expected = {
2121 [ `${ dir } /package.json` ] : fs . readFileSync ( `${ dir } /package.json` ) ,
2222 [ `${ dir } /README.md` ] : fs . readFileSync ( `${ dir } /README.md` ) ,
23- }
23+ } ;
2424
2525 t . deepEqual ( result , expected , 'should equal' ) ;
2626 t . end ( ) ;
@@ -45,7 +45,7 @@ test('files: pipe: gzip', async (t) => {
4545 const to = join ( tmpDir , 'README_COPY.gz' ) ;
4646
4747 const [ e ] = await tryToCatch ( files . pipe , from , to , {
48- gzip : true
48+ gzip : true ,
4949 } ) ;
5050
5151 fs . unlinkSync ( to ) ;
@@ -60,7 +60,7 @@ test('files: pipe: gunzip', async (t) => {
6060 const to = join ( tmpDir , 'README_COPY.gz' ) ;
6161
6262 const [ e ] = await tryToCatch ( files . pipe , from , to , {
63- gunzip : true
63+ gunzip : true ,
6464 } ) ;
6565
6666 t . ok ( e , 'should be error' ) ;
@@ -77,7 +77,7 @@ test('files: pipe: range', async (t) => {
7777 range : {
7878 start : 0 ,
7979 end : 10 ,
80- }
80+ } ,
8181 } ) ;
8282
8383 fs . unlinkSync ( to ) ;
0 commit comments