Skip to content

The agent that grows with you

test(desktop): give the native Windows SDK fixture desktop_prepare's imports

ethernet34bbe560c96b
diff --git a/apps/desktop/scripts/side-by-side.windows.test.mjs b/apps/desktop/scripts/side-by-side.windows.test.mjs
index 293eccb1167..84cc026f0f6 100644
--- a/apps/desktop/scripts/side-by-side.windows.test.mjs
+++ b/apps/desktop/scripts/side-by-side.windows.test.mjs
@@ -51,7 +51,10 @@ async function nativeProof() {
...['before-build', 'gen-msix-manifest', 'mac-sign', 'payload-digests', 'write-build-stamp', 'utils']
.map(name => `apps/desktop/scripts/${name}.mjs`),
'scripts/msix-shared.mjs', 'scripts/release-content-types.json', 'scripts/build/python.mjs',
- 'scripts/bundles/desktop_prepare.py', 'scripts/releases/bundle_env.py', 'hermes_cli/release_channels.py', 'hermes_cli/__init__.py',
+ 'scripts/bundles/desktop_prepare.py', 'hermes_cli/release_channels.py', 'hermes_cli/__init__.py',
+ // desktop_prepare -> scripts.releases.versioning -> semver + hermes_cli.update_channel -> pm:
+ // copy whole package trees so a new intra-package import cannot break the fixture.
+ 'hermes_cli/update_channel.py', 'hermes_constants.py', 'scripts/releases', 'pm',
]
for (const file of copied) {
fs.mkdirSync(path.dirname(path.join(work, file)), { recursive: true })