|
|
@ -3,8 +3,8 @@ import fs from 'fs'; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
const useIsoGit = process.argv.includes('--useIsoGit'); |
|
|
|
const useIsoGit = process.argv.includes('--use-isogit'); |
|
|
|
const useOffline = process.argv.includes('--useOffline'); |
|
|
|
const useOffline = process.argv.includes('--use-offline'); |
|
|
|
|
|
|
|
|
|
|
|
// Function to read JSON file synchronously
|
|
|
|
// Function to read JSON file synchronously
|
|
|
|
function readJSONFileSync(filename: string): any { |
|
|
|
function readJSONFileSync(filename: string): any { |
|
|
@ -71,8 +71,8 @@ module.exports = { |
|
|
|
// Check if running on CircleCI or locally
|
|
|
|
// Check if running on CircleCI or locally
|
|
|
|
let args = process.env.CIRCLECI ? ["--e2e"] : ["--e2e-local"]; |
|
|
|
let args = process.env.CIRCLECI ? ["--e2e"] : ["--e2e-local"]; |
|
|
|
|
|
|
|
|
|
|
|
if(useIsoGit) args = [...args, '--useIsoGit']; |
|
|
|
if(useIsoGit) args = [...args, '--use-isogit']; |
|
|
|
if(useOffline) args = [...args, '--useOffline']; |
|
|
|
if(useOffline) args = [...args, '--use-offline']; |
|
|
|
|
|
|
|
|
|
|
|
// Set display size
|
|
|
|
// Set display size
|
|
|
|
const windowSize = "--window-size=1000,1000"; |
|
|
|
const windowSize = "--window-size=1000,1000"; |
|
|
|