File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -59,9 +59,9 @@ async function convertUrlsToBase64(
5959) : Promise < Array < { url : string ; base64 : string } > > {
6060 const screenshots = await Promise . all (
6161 urls . map ( async ( url ) => {
62- const response = await apiClient . get ( {
63- url,
64- responseType : "arraybuffer"
62+ const response = await apiClient . get ( {
63+ url,
64+ responseType : "arraybuffer" ,
6565 } ) ;
6666 // Axios returns response.data as a Buffer for binary data
6767 const base64 = Buffer . from ( response . data ) . toString ( "base64" ) ;
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { ConfigMapping } from "../common/types.js";
44 * ---------- PYTHON INSTRUCTIONS ----------
55 */
66
7- export const pythonInstructions = ( username : string , accessKey : string ) => {
7+ export const pythonInstructions = ( ) => {
88 const setup = `
99---STEP---
1010
@@ -32,7 +32,7 @@ browserstack-sdk pytest <path-to-test-directory>
3232} ;
3333
3434export const generatePythonFrameworkInstructions =
35- ( framework : string ) => ( username : string , accessKey : string ) => {
35+ ( framework : string ) => ( ) => {
3636 const setup = `
3737---STEP---
3838
@@ -646,4 +646,4 @@ export const SUPPORTED_CONFIGURATIONS: ConfigMapping = {
646646 cypress : { instructions : cypressInstructions } ,
647647 } ,
648648 } ,
649- } ;
649+ } ;
You can’t perform that action at this time.
0 commit comments