File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,13 @@ for (const fileName of ['parse.js', 'parse.min.js']) {
87
87
}
88
88
} ) ;
89
89
await page . evaluate ( async ( ) => {
90
- const file = new Parse . File ( 'parse-base64.txt' , { base64 : 'ParseA==' } ) ;
90
+ const parseLogo =
91
+ 'https://raw.githubusercontent.com/parse-community/parse-server/master/.github/parse-server-logo.png' ;
92
+ const logo = new Parse . File ( 'parse-server-logo' , { uri : parseLogo } ) ;
93
+ await logo . save ( ) ;
94
+ const base64 = await logo . getData ( ) ;
95
+
96
+ const file = new Parse . File ( 'parse-base64.txt' , { base64 } ) ;
91
97
file . save ( ) . then ( ( ) => { } ) ;
92
98
93
99
const intervalId = setInterval ( ( ) => {
@@ -98,7 +104,7 @@ for (const fileName of ['parse.js', 'parse.min.js']) {
98
104
} , 1 ) ;
99
105
} ) ;
100
106
await promise ;
101
- expect ( requestsCount ) . toBe ( 1 ) ;
107
+ expect ( requestsCount ) . toBe ( 3 ) ;
102
108
expect ( abortedCount ) . toBe ( 1 ) ;
103
109
} ) ;
104
110
} ) ;
You can’t perform that action at this time.
0 commit comments