mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 07:15:08 +01:00
Add support for Yarn Plug'n'Play filesystem layout #3888
This commit is contained in:
@@ -144,4 +144,10 @@ describe('libvips binaries', function () {
|
||||
libvips.log(new Error('problem'));
|
||||
});
|
||||
});
|
||||
|
||||
it('yarn locator hash', () => {
|
||||
const locatorHash = libvips.yarnLocator();
|
||||
assert.strictEqual(locatorHash.length, 10);
|
||||
assert.strict(/[a-f0-9]{10}/.test(locatorHash));
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user