I'm using the jasmine-gem as part of a rails project.
I know I can run the tests in a browser with rake jasmine, but I need to run them headless via rake jasmine:ci.
When I'm running them in headless/ci mode, console.logs do not get outputted. How can I accomplish this? Maybe something in jasmine_helper.rb ?
Figured it out.
In jasmine_helpers.rb:
Jasmine.configure do |config|
config.show_console_log = true
end
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With