File tree 5 files changed +16
-2
lines changed
test/react/server_rendering
5 files changed +16
-2
lines changed Original file line number Diff line number Diff line change
1
+ if defined? ( PryByebug )
2
+ Pry . commands . alias_command 's' , 'step'
3
+ Pry . commands . alias_command 'n' , 'next'
4
+ Pry . commands . alias_command 'f' , 'finish'
5
+ Pry . commands . alias_command 'c' , 'continue'
6
+ end
Original file line number Diff line number Diff line change 14
14
"webpack" : " ^2.3.3"
15
15
},
16
16
"dependencies" : {
17
- "react_ujs" : " ^2.4.4 "
17
+ "react_ujs" : " ^2.5.0 "
18
18
}
19
19
}
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Gem::Specification.new do |s|
28
28
s . add_development_dependency 'selenium-webdriver'
29
29
s . add_development_dependency 'test-unit' , '~> 2.5'
30
30
s . add_development_dependency 'rails' , '>= 3.2'
31
+ s . add_development_dependency 'pry-byebug'
31
32
32
33
s . add_dependency 'connection_pool'
33
34
s . add_dependency 'execjs'
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ class BundleRendererTest < ActiveSupport::TestCase
70
70
71
71
if WebpackerHelpers . available?
72
72
# require() failed:
73
- assert_match ( /TypeError: Cannot read property 'toLowerCase' of undefined / , err . to_s )
73
+ assert_match ( /Invariant Violation: / , err . to_s )
74
74
else
75
75
# eval() failed:
76
76
assert_match ( /ReferenceError/ , err . to_s )
Original file line number Diff line number Diff line change @@ -1624,6 +1624,13 @@ react_ujs@^2.4.4:
1624
1624
resolved "https://registry.yarnpkg.com/react_ujs/-/react_ujs-2.4.4.tgz#49bac535d24024a96b0a35d7514d18188aea42bc"
1625
1625
integrity sha512-RON6mgV+I3s6KkmvxTQi+WGuoLbhZ+TzRat06EE/RHFvzU+Na1Eom6XnesQeOP7WCrTZGOdcZEPP0P7QrJrHfg==
1626
1626
1627
+ react_ujs@^2.5.0 :
1628
+ version "2.5.0"
1629
+ resolved "https://registry.yarnpkg.com/react_ujs/-/react_ujs-2.5.0.tgz#b8481818233f54aee2cbee0328baf6eaea290824"
1630
+ integrity sha512-uRtlv3ITYv6BGHYO3Z4pS1K2JJtIT2Sz345g/bCbMdwraZZ0BLyq4SnESIkiDmg7SX3bJchb2OmQUSwPjbXB3A==
1631
+ dependencies :
1632
+ react_ujs "^2.4.4"
1633
+
1627
1634
read-pkg-up@^1.0.1 :
1628
1635
version "1.0.1"
1629
1636
resolved "https://registry.yarnpkg.com/read-pkg-up/-/read-pkg-up-1.0.1.tgz#9d63c13276c065918d57f002a57f40a1b643fb02"
You can’t perform that action at this time.
0 commit comments