1
0
Fork 0
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:
Joshua Peek 2015-03-05 11:33:09 -08:00
parent cec9953cf6
commit 07bd087cfd

View file

@ -289,6 +289,8 @@ class TestExecJS < Test
end
def test_babel
skip if ExecJS.runtime.is_a?(ExecJS::RubyRhinoRuntime)
assert source = File.read(File.expand_path("../fixtures/babel.js", __FILE__))
source = <<-JS
var self = this;