0
0
mirror of https://github.com/nodejs/node.git synced 2024-11-25 08:19:38 +01:00
nodejs/test/parallel/test-process-versions.js
Johan Bergström fce1acd748 test: introduce a test for process.versions output
make sure that process.versions contains an expected list of software to avoid
potential mistakes with refactoring.

PR-URL: https://github.com/iojs/io.js/pull/352
Reviewed-By: Rod Vagg <rod@vagg.org>
2015-01-14 12:43:52 +11:00

8 lines
243 B
JavaScript

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