Ensure Yarn PnP hash calculation works with pre-releases (#4347)

This commit is contained in:
Kleis Auke Wolthuizen
2025-03-16 23:05:52 +01:00
committed by GitHub
parent 5ee83d13e2
commit 2035492fd9
2 changed files with 4 additions and 2 deletions

View File

@@ -179,7 +179,7 @@ describe('libvips binaries', function () {
process.env.npm_config_arch = 's390x';
process.env.npm_config_libc = '';
const locatorHash = libvips.yarnLocator();
assert.strictEqual(locatorHash, '9b2ea457de');
assert.strictEqual(locatorHash, 'e34c58507a');
delete process.env.npm_config_platform;
delete process.env.npm_config_arch;
delete process.env.npm_config_libc;