We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a6aafa5 commit c07fb3cCopy full SHA for c07fb3c
tests/testthat/test-tag-hooks.R
@@ -143,32 +143,6 @@ test_that("Pre hooks render in order", {
143
))
144
expect_equal(state, 4)
145
146
- state <- 0
147
- renderTags(tagList(
148
- div(
149
- .renderHook = function(x) {
150
- state <<- state + 1
151
- message("A", state)
152
- },
153
154
155
156
- message("B", state)
157
158
- .postRenderHook = function() {
159
160
- message("C", state)
161
- }
162
- ),
163
164
165
- message("D", state)
166
167
- )
168
- ))
169
- expect_equal(state, 4)
170
-
171
172
# post render hook still executes on failure
173
state <- 0
174
expect_warning(renderTags(tagList(
0 commit comments