File tree 1 file changed +36
-0
lines changed
docs/angular-testing-library
1 file changed +36
-0
lines changed Original file line number Diff line number Diff line change @@ -150,6 +150,42 @@ await render(AppComponent, {
150
150
})
151
151
` ` `
152
152
153
+ ### ` deferBlockBehavior `
154
+
155
+ Set the defer blocks behavior .
156
+
157
+ For more info see the
158
+ [Angular docs ](https :// angular.io/api/core/testing/DeferBlockBehavior)
159
+
160
+ ** default ** : ` undefined ` (uses the Angular default , which is
161
+ ` DeferBlockBehavior.Manual ` )
162
+
163
+ ** example ** :
164
+
165
+ ` ` ` typescript
166
+ await render(AppComponent, {
167
+ deferBlockBehavior: DeferBlockBehavior.Playthrough,
168
+ })
169
+ ` ` `
170
+
171
+ ### ` deferBlockStates `
172
+
173
+ Set the initial state of a deferrable blocks in a component .
174
+
175
+ For more info see the
176
+ [Angular docs ](https :// angular.io/api/core/testing/DeferBlockState)
177
+
178
+ ** default ** : ` undefined ` (uses the Angular default , which is
179
+ ` DeferBlockState.Placeholder ` )
180
+
181
+ ** example ** :
182
+
183
+ ` ` ` typescript
184
+ await render(FixtureComponent, {
185
+ deferBlockStates: DeferBlockState.Loading,
186
+ })
187
+ ` ` `
188
+
153
189
### ` componentProviders `
154
190
155
191
A collection of providers needed to render the component via Dependency
You can’t perform that action at this time.
0 commit comments