Skip to content

Commit

Permalink
chore: add new mock app parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
TheUnderScorer committed Apr 17, 2024
1 parent 7e4009f commit 7f89cc9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/mockTests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { execSync } from 'child_process'
import pkg from '../package.json'

function getEnv(name: string) {
const value = process.env[name]
Expand All @@ -23,7 +24,7 @@ async function main() {
console.info(`Running mock e2e tests for`, host)

execSync(
`npm exec -y "git+https://github.com/fingerprintjs/dx-team-mock-for-proxy-integrations-e2e-tests.git" -- --api-url="https://${apiUrl}" --host="${host}" --cdn-proxy-path="${agentPath}" --ingress-proxy-path="${resultPath}"`,
`npm exec -y "git+https://github.com/fingerprintjs/dx-team-mock-for-proxy-integrations-e2e-tests.git" -- --api-url="https://${apiUrl}" --host="${host}" --cdn-proxy-path="${agentPath}" --ingress-proxy-path="${resultPath}" --traffic-name=fingerprint-pro-akamai --integration-version=${pkg.version}`,
{
stdio: 'inherit',
}
Expand Down

0 comments on commit 7f89cc9

Please sign in to comment.