test-windows-desktop.mjs 381 B

1234
  1. import { execFileSync } from 'node:child_process'
  2. const files = ['platform', 'windows', 'windows-smoke', 'onboarding', 'onboarding-renderer', 'host-files', 'host-manager', 'host-environment',
  3. 'preferences', 'remote-login', 'auto-update-manager', 'update-manager']
  4. execFileSync(process.execPath, ['--test', ...files.map(name => `desktop/${name}.test.mjs`)], { stdio: 'inherit' })