Add runtime check for outdated Node.js version

This commit is contained in:
Lovell Fuller
2024-01-10 13:50:20 +00:00
parent b96389d975
commit 45e8071599
3 changed files with 23 additions and 2 deletions

View File

@@ -123,6 +123,9 @@ describe('libvips binaries', function () {
const [, arch] = libvips.runtimePlatformArch().split('-');
assert.strict(['arm', 'arm64', 'ia32', 'x64'].includes(arch));
});
it('isUnsupportedNodeRuntime', () => {
assert.strictEqual(libvips.isUnsupportedNodeRuntime(), undefined);
});
});
describe('logger', function () {