Skip to content

Instantly share code, notes, and snippets.

@bingomanatee
Created September 9, 2016 19:00
Show Gist options
  • Save bingomanatee/ac0b37c63ea74fee2740df8fbdf5a9c1 to your computer and use it in GitHub Desktop.
Save bingomanatee/ac0b37c63ea74fee2740df8fbdf5a9c1 to your computer and use it in GitHub Desktop.
helper patch
#Use this file to set/override Jasmine configuration options
#You can remove it if you don't need it.
#This file is loaded *after* jasmine.yml is interpreted.
#
#Example: using a different boot file.
#Jasmine.configure do |config|
# config.boot_dir = '/absolute/path/to/boot_dir'
# config.boot_files = lambda { ['/absolute/path/to/boot_dir/file.js'] }
#end
#
#Example: prevent PhantomJS auto install, uses PhantomJS already on your path.
Jasmine.configure do |config|
config.prevent_phantom_js_auto_install = true
config.show_console_log = true
puts('configuring for console.log');
config
end
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment