From: Cheng Zhao Date: Thu, 17 Sep 2015 08:06:19 +0000 (+0800) Subject: spec: vm.createContext should not crash X-Git-Tag: v0.33.0~1^2~2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=5604655d547b13532efcf1aeb36863f4f57e90cf;p=electron.git spec: vm.createContext should not crash --- diff --git a/spec/node-spec.coffee b/spec/node-spec.coffee index f998a8c5..c8d569e0 100644 --- a/spec/node-spec.coffee +++ b/spec/node-spec.coffee @@ -148,3 +148,7 @@ describe 'node feature', -> # Not reliable on some machines xit 'should have isTTY defined', -> assert.equal typeof(process.stdout.isTTY), 'boolean' + + describe 'vm.createContext', -> + it 'should not crash', -> + require('vm').runInNewContext('')