These are chat archives for opal/opal
1) d3 misc methods d3.version Failure/Error: Unable to find matching line from backtrace expected: "4.4.3" got: "4.5.0" (compared using ==) # $$handle_matcher@http://localhost:9999/assets/opal/rspec/sprockets_runner.js:36031:203 # # Showing full backtrace because every line was filtered out. # See docs for RSpec::Configuration#backtrace_exclusion_patterns and # RSpec::Configuration#backtrace_inclusion_patterns for more information. Finished in 2.78 seconds (files took 5.02 seconds to load) 869 examples, 1 failure, 123 pending
@taw to see ruby line numbers you'd need to link source maps with the js platform in use and do the mapping, I think node has the API needed to do that, in the browser could depend on the vendor. If you just wanted to get the js lines then should be much easier.
@/all Anyway I'm (slowly) progressing on the update of Opal-RSpec to make it work with master. Once that is done I think we can release 0.11. My thought-process has been that many many projects use Opal-RSpec and releasing without proper support would be counterproductive. Please correct me if I'm mistaken or let me know what you think 🤙🏻
bundle exec rspec spec/ruby/library/date/upto_spec.rb
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-darwin15] 1) An exception occurred during: loading /Users/beweiche/.rvm/gems/ruby-2.4.1/bin/rspec ERROR SystemStackError: stack level too deep /Users/beweiche/.rvm/rubies/ruby-2.4.1/lib/ruby/2.4.0/optparse.rb:827:in `fetch'
$ bundle exec rake mspec_ruby_nodejs PATTERN=spec/ruby/core/string/sub_spec.rb
This should work, see the hacking guide:
bundle exec rake mspec_ruby_nodejs PATTERN=spec/ruby/library/date/upto_spec.rb
But it says
finished 0 examples, 0 failures (time taken: 0.012000083923339844) `
is there a filter which I need to turn off?
bundle exec raketo run