feat: add process.getSystemVersion() (#16599)

This commit is contained in:
Milan Burda 2019-02-18 13:59:48 +01:00 committed by Charles Kerr
parent eaa0e28396
commit a04d9ef35b
3 changed files with 20 additions and 0 deletions

View file

@ -59,6 +59,12 @@ describe('process module', () => {
})
})
describe('process.getSystemVersion()', () => {
it('returns a string', () => {
expect(process.getSystemVersion()).to.be.a('string')
})
})
describe('process.getHeapStatistics()', () => {
it('returns heap statistics object', () => {
const heapStats = process.getHeapStatistics()