node/test/parallel/test-process-versions.js

12 lines
312 B
JavaScript

var common = require('../common');
var assert = require('assert');
var expected_keys = ['ares', 'http_parser', 'modules', 'node',
'uv', 'v8', 'zlib'];
if (common.hasCrypto) {
expected_keys.push('openssl');
}
assert.deepEqual(Object.keys(process.versions).sort(), expected_keys.sort());