mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Add specs for process.versions.electron/chrome
This commit is contained in:
@@ -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))
|
||||
})
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user