test(windows): stabilize native coverage

This commit is contained in:
Tianyi Cui
2026-08-09 02:29:09 +08:00
parent 1ce84853de
commit 94799abfb0
10 changed files with 54 additions and 17 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ describe('CI workflow', () => {
expect(windows['runs-on']).toBe('windows-2025')
expect(windows.name).toBe('windows node 24 / native complete')
expect(windows.env).toMatchObject({ DSH_COVERAGE_MAX_WORKERS: '4' })
expect(windows.env).toMatchObject({ DSH_COVERAGE_MAX_WORKERS: '1' })
expect(commandSteps).toHaveLength(3)
expect(commandSteps.every(step => step.shell === 'pwsh')).toBe(true)
expect(commandSteps.map(step => step.run)).toContain('pnpm run check:ci:windows-complete')