module JsTestCore module Resources class WebRoot < Resource map "/" get("") do "
Welcome to the Js Test Server. Click the following link to run you spec suite." end get("js_test_server.js") do File.render_file(Configuration.js_test_core_js_path) end end end end