diff --git a/spec/node-spec.js b/spec/node-spec.js index d6151175d13a..e92b2a0d2521 100644 --- a/spec/node-spec.js +++ b/spec/node-spec.js @@ -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)) + }) })