Browse Source

:wrench: Actually fix the test

Felix Rieseberg 7 years ago
parent
commit
7c446cc61c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      spec/node-spec.js

+ 1 - 1
spec/node-spec.js

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