chore(bench): dedupe fixture imports

This commit is contained in:
Brennan Benson
2026-08-01 01:48:07 -07:00
parent d3f23618e4
commit 328b215f73
2 changed files with 12 additions and 6 deletions
@@ -28,14 +28,16 @@ import {
stopDevApp,
waitForStoreReady
} from '../../config/scripts/windows-apphang-repro/electron-dev-session.mjs'
import { createCompletedOnboardingProfile } from '../../config/scripts/windows-apphang-repro/wsl-workspace-fixture.mjs'
import {
createCompletedOnboardingProfile,
safeRemoveLocalDirectory
} from '../../config/scripts/windows-apphang-repro/wsl-workspace-fixture.mjs'
import {
pollUntil,
rendererActionTimeoutMs,
runWithTimeout,
setupTimeoutMs
} from '../../config/scripts/windows-apphang-repro/repro-timing.mjs'
import { safeRemoveLocalDirectory } from '../../config/scripts/windows-apphang-repro/wsl-workspace-fixture.mjs'
const rootDir = path.resolve(fileURLToPath(new URL('../..', import.meta.url)))
const PARK_DELAY_MS = 1_500
@@ -454,7 +456,8 @@ async function main() {
args.reportPath ??
path.join(
rootDir,
'tests', 'tools',
'tests',
'tools',
'benchmarks',
'results',
`cold-park-res-${args.label}-${stamp}.json`
@@ -34,14 +34,16 @@ import {
stopDevApp,
waitForStoreReady
} from '../../config/scripts/windows-apphang-repro/electron-dev-session.mjs'
import { createCompletedOnboardingProfile } from '../../config/scripts/windows-apphang-repro/wsl-workspace-fixture.mjs'
import {
createCompletedOnboardingProfile,
safeRemoveLocalDirectory
} from '../../config/scripts/windows-apphang-repro/wsl-workspace-fixture.mjs'
import {
pollUntil,
rendererActionTimeoutMs,
runWithTimeout,
setupTimeoutMs
} from '../../config/scripts/windows-apphang-repro/repro-timing.mjs'
import { safeRemoveLocalDirectory } from '../../config/scripts/windows-apphang-repro/wsl-workspace-fixture.mjs'
const rootDir = path.resolve(fileURLToPath(new URL('../..', import.meta.url)))
const scenarioTimeoutMs = 300_000
@@ -582,7 +584,8 @@ async function main() {
args.reportPath ??
path.join(
rootDir,
'tests', 'tools',
'tests',
'tools',
'benchmarks',
'results',
`cold-park-${args.label}-${stamp}.json`