Merge pull request #11103 from electron/full-version-string
fix: Provide full and correct version in `process.version`
This commit is contained in:
commit
3a1106d026
3 changed files with 12 additions and 15 deletions
|
@ -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', () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue