feat: add process.getSystemVersion() (#16599)
This commit is contained in:
parent
eaa0e28396
commit
a04d9ef35b
3 changed files with 20 additions and 0 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue