Merge pull request #11103 from electron/full-version-string

fix: Provide full and correct version in `process.version`
This commit is contained in:
Charles Kerr 2017-11-14 19:18:03 -06:00 committed by GitHub
commit 3a1106d026
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 15 deletions

View file

@ -336,7 +336,7 @@ describe('node feature', () => {
})
it('includes the electron version in process.versions', () => {
assert(/^\d+\.\d+\.\d+$/.test(process.versions.electron))
assert(/^\d+\.\d+\.\d+(\S*)?$/.test(process.versions.electron))
})
it('includes the chrome version in process.versions', () => {