Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function initRunEnv(root: string, testDataRoot: string) {
const workRoot = new WorkRoot(root, {
'test-data': testDataRoot,
})
return {
workRoot,
stepEnv(): FloodProcessEnv {
return {
BROWSER_ID: 0,
FLOOD_GRID_REGION: 'local',
FLOOD_GRID_SQEUENCE_ID: 0,
FLOOD_GRID_SEQUENCE_ID: 0,
FLOOD_GRID_INDEX: 0,
FLOOD_GRID_NODE_SEQUENCE_ID: 0,
FLOOD_NODE_INDEX: 0,
FLOOD_SEQUENCE_ID: 0,
FLOOD_PROJECT_ID: 0,