mirror of
https://github.com/rails/execjs
synced 2023-03-27 23:21:20 -04:00
Skip babel on ruby rhino
This commit is contained in:
parent
cec9953cf6
commit
07bd087cfd
1 changed files with 2 additions and 0 deletions
|
@ -289,6 +289,8 @@ class TestExecJS < Test
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_babel
|
def test_babel
|
||||||
|
skip if ExecJS.runtime.is_a?(ExecJS::RubyRhinoRuntime)
|
||||||
|
|
||||||
assert source = File.read(File.expand_path("../fixtures/babel.js", __FILE__))
|
assert source = File.read(File.expand_path("../fixtures/babel.js", __FILE__))
|
||||||
source = <<-JS
|
source = <<-JS
|
||||||
var self = this;
|
var self = this;
|
||||||
|
|
Loading…
Reference in a new issue