You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
425 B

'use strict';
require('../common');
const assert = require('assert');
const versionParts = process.versions.node.split('.');
assert.equal(process.release.name, 'node');
// it's expected that future LTS release lines will have additional
// branches in here
if (versionParts[0] === '4' && versionParts[1] >= 2) {
assert.equal(process.release.lts, 'Argon');
} else {
assert.strictEqual(process.release.lts, undefined);
}