We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 892635d commit 5892174Copy full SHA for 5892174
1 file changed
test/reagenttest/testreagent.cljs
@@ -968,10 +968,12 @@
968
; :default #"Expected React component in: \[:> \[:div]]"
969
; (rstr [:> [:div]])))
970
;; This is from React.createElement
971
+ ;; NOTE: browser-npm uses production cjs bundle for now which only shows
972
+ ;; the minified error
973
(debug/track-warnings
974
(wrap-capture-console-error
975
#(is (thrown-with-msg?
- :default #"Element type is invalid:"
976
+ :default #"(Element type is invalid:|Minified React error)"
977
(rstr [:> [:div]])))))
978
(is (thrown-with-msg?
979
:default #"Invalid tag: 'p.'"
0 commit comments