Add specs for process.versions.electron/chrome
This commit is contained in:
parent
b52367e3b2
commit
726bab0293
1 changed files with 8 additions and 0 deletions
|
@ -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))
|
||||
})
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue