Skip to content

Commit 851a2d6

Browse files
authored
Merge pull request #147 from kateinoigakukun/katei/hotfix-playground-test
Hotfix broken integration test for playground
2 parents 10babf0 + 1c528e0 commit 851a2d6

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

app/ruby_engine.rb

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,12 @@ def loading(part = nil)
3535
"https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@0.5.0-2022-12-25-a/dist/ruby.wasm",
3636
"3.2.0"
3737
),
38-
CRubyWASI.new(
39-
"https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@next/dist/ruby.wasm",
40-
"3.3.0dev"
41-
),
38+
# FIXME(katei): Head build is no longer compatible with ruby-head-wasm-wasi@0.5.0,
39+
# so we should have a worker for each version of CRuby to load corresponding ruby-*-wasm-wasi
40+
# CRubyWASI.new(
41+
# "https://cdn.jsdelivr.net/npm/ruby-head-wasm-wasi@next/dist/ruby.wasm",
42+
# "3.3.0dev"
43+
# ),
4244
].each_with_object({}) do |engine, hash|
4345
hash[engine.engine_id] = engine
4446
end

spec/playground_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
RSpec.describe "Playground", type: :feature, js: true do
44
context "engine" do
5-
engines = ["opal-ww-1.7.1", "cruby-3.2.0", "cruby-3.3.0dev"]
5+
engines = ["opal-ww-1.7.1", "cruby-3.2.0"]
66
engines.each do |engine|
77
context engine do
88
before :each do

0 commit comments

Comments
 (0)