File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11const { httpRequest } = require ( './support/request' ) ;
22
33describe ( 'S3Adapter integration tests' , ( ) => {
4- it ( 'should create a file in Parse Server ' , async ( ) => {
4+ it ( 'stores a file' , async ( ) => {
55 const base64 = Buffer . from ( '1' ) . toString ( 'base64' ) ;
66 const file = new Parse . File ( 'file.txt' , { base64 } ) ;
77 await file . save ( ) ;
@@ -10,7 +10,7 @@ describe('S3Adapter integration tests', () => {
1010 expect ( file . url ( ) ) . toMatch ( / f i l e .t x t $ / ) ;
1111 } ) ;
1212
13- it ( 'should read the contents of the file' , async ( ) => {
13+ it ( 'reads the contents of a file' , async ( ) => {
1414 const base64 = Buffer . from ( '1' ) . toString ( 'base64' ) ;
1515 const file = new Parse . File ( 'file.txt' , { base64 } ) ;
1616 await file . save ( ) ;
@@ -22,7 +22,7 @@ describe('S3Adapter integration tests', () => {
2222 expect ( text ) . toBe ( '1' ) ;
2323 } ) ;
2424
25- it ( 'should delete the file' , async ( ) => {
25+ it ( 'deletes a file' , async ( ) => {
2626 const base64 = Buffer . from ( '1' ) . toString ( 'base64' ) ;
2727 const file = new Parse . File ( 'file.txt' , { base64 } ) ;
2828 await file . save ( ) ;
You can’t perform that action at this time.
0 commit comments