Add specs for process.versions.electron/chrome

This commit is contained in:
Kevin Sawicki 2017-01-11 17:51:46 -08:00
parent b52367e3b2
commit 726bab0293

View file

@ -290,4 +290,12 @@ describe('node feature', function () {
require('vm').runInNewContext('')
})
})
it('includes the electron version in process.versions', () => {
assert(/^\d+\.\d+\.\d+$/.test(process.versions.electron))
})
it('includes the chrome version in process.versions', () => {
assert(/^\d+\.\d+\.\d+\.\d+$/.test(process.versions.chrome))
})
})