mirror of
https://github.com/rails/execjs
synced 2023-03-27 23:21:20 -04:00
Merge branch 'master' into improve-backtraces
This commit is contained in:
commit
0d781c4092
1 changed files with 2 additions and 0 deletions
|
@ -331,6 +331,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