spec: vm.createContext should not crash
This commit is contained in:
parent
93639a080c
commit
5604655d54
1 changed files with 4 additions and 0 deletions
|
@ -148,3 +148,7 @@ describe 'node feature', ->
|
||||||
# Not reliable on some machines
|
# Not reliable on some machines
|
||||||
xit 'should have isTTY defined', ->
|
xit 'should have isTTY defined', ->
|
||||||
assert.equal typeof(process.stdout.isTTY), 'boolean'
|
assert.equal typeof(process.stdout.isTTY), 'boolean'
|
||||||
|
|
||||||
|
describe 'vm.createContext', ->
|
||||||
|
it 'should not crash', ->
|
||||||
|
require('vm').runInNewContext('')
|
||||||
|
|
Loading…
Reference in a new issue