spec: We should not use pre release of Node
This commit is contained in:
parent
7796dbb7ce
commit
dd283ff8d7
1 changed files with 6 additions and 0 deletions
|
@ -217,6 +217,12 @@ describe('node feature', function () {
|
|||
})
|
||||
})
|
||||
|
||||
describe('process.version', function () {
|
||||
it('should not have -pre', function () {
|
||||
assert(!process.version.endsWith('-pre'))
|
||||
})
|
||||
})
|
||||
|
||||
describe('vm.createContext', function () {
|
||||
it('should not crash', function () {
|
||||
require('vm').runInNewContext('')
|
||||
|
|
Loading…
Reference in a new issue