@@ -270,22 +270,22 @@ describe('The s3 browser works', () => {
270
270
assertFileHasContent ( copiedFileLocation , fileContent ) ;
271
271
} ) ;
272
272
273
- it ( 'Can copy files' , ( ) => {
274
- const bucketName = createTestBucket ( ) ;
275
- const fileName = 'test.txt' ;
276
- const copiedFileName = 'test-copy.txt' ;
277
- const fileLocation = `${ bucketName } /${ fileName } ` ;
278
- const copyDestinationDirectory = `${ bucketName } /test` ;
279
- createDirectory ( `${ copyDestinationDirectory } ` ) ;
280
- const newFileLocation = `${ copyDestinationDirectory } /${ copiedFileName } ` ;
281
- const fileContent = 'test' ;
282
- createFile ( fileLocation ) ;
283
- writeToFile ( fileLocation , fileContent ) ;
284
- copyFile ( fileLocation , newFileLocation ) ;
285
- assertFileHasContent ( newFileLocation , fileContent ) ;
286
- } ) ;
287
-
288
273
if ( ! CI ) {
274
+ it ( 'Can copy files' , ( ) => {
275
+ const bucketName = createTestBucket ( ) ;
276
+ const fileName = 'test.txt' ;
277
+ const copiedFileName = 'test-copy.txt' ;
278
+ const fileLocation = `${ bucketName } /${ fileName } ` ;
279
+ const copyDestinationDirectory = `${ bucketName } /test` ;
280
+ createDirectory ( `${ copyDestinationDirectory } ` ) ;
281
+ const newFileLocation = `${ copyDestinationDirectory } /${ copiedFileName } ` ;
282
+ const fileContent = 'test' ;
283
+ createFile ( fileLocation ) ;
284
+ writeToFile ( fileLocation , fileContent ) ;
285
+ copyFile ( fileLocation , newFileLocation ) ;
286
+ assertFileHasContent ( newFileLocation , fileContent ) ;
287
+ } ) ;
288
+
289
289
it ( 'Can move files' , ( ) => {
290
290
const bucketName = createTestBucket ( ) ;
291
291
const fileName = 'test.txt' ;
0 commit comments