This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Promise.resolve().then(v => { | |
console.log('everything is fine'); | |
throw new Error(); | |
}).then(e => { | |
console.log('after error'); | |
}); | |
Promise.resolve().then(v => { | |
console.log('everything is fine 2'); | |
throw new Error(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
redis srv app result | |
---- --- --- ------ | |
add x [add x] [] [x] | |
add [add] [x] [x] or [x, x]? | |
add, add [add] [] [x] | |
add, add [add] [x] [x] or [x, x]? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "test_helper" | |
# Send downloads to tmp/capybara/downloads so they can be reliably checked and cleaned up | |
# without polluting ~/Downloads. | |
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase | |
driven_by :selenium, using: :headless_chrome, screen_size: [1400, 1400] do |driver_option| | |
driver_option.add_preference( | |
:download, | |
default_directory: Rails.root.join("tmp/capybara/downloads") | |
) |
OlderNewer