Files
orca/config/scripts/bun-profile-test-paths.mjs
T

29 lines
1.4 KiB
JavaScript

export function bunProfileTestPaths({ artifact = false } = {}) {
return [
'src/shared/bun-owned-runtime-args.integration.test.ts',
'src/shared/child-process/fork-process-bun.integration.test.ts',
'src/main/persistence/profile-state',
'src/main/persistence/loading-store/profile-state',
'src/main/sqlite',
'src/main/orcad/orcad-entry.test.ts',
'src/main/orcad/orcad-push-startup.test.ts',
...(artifact
? [
'src/main/daemon/pty-subprocess/bun-pty-process.integration.test.ts',
'src/main/daemon/pty-subprocess/bun-pty-job-control.integration.test.ts',
'src/main/daemon/pty-subprocess/bun-pty-process-suspension.test.ts',
'src/main/daemon/pty-subprocess-spawn-file-foreground.test.ts',
'src/main/daemon/pty-subprocess/spawn-file-foreground-rejected-agents.test.ts',
'tests/e2e/daemon-running-work-probe.unit.test.ts',
'src/main/daemon/pty-subprocess/windows-bun-pty-gate.integration.test.ts',
'src/main/providers/local-pty-bun-artifact.integration.test.ts',
'src/main/providers/agent-foreground-process-git-bash.win32.test.ts',
'src/main/orcad/orcad-bun-launcher.integration.test.ts',
'config/scripts/zip-extractor-command.test.mjs',
'config/scripts/orcad-launcher-build.test.mjs',
'src/main/orcad/orcad-bundle-native-load-order.test.ts'
]
: [])
]
}