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 39ba0dd commit 1dffa19Copy full SHA for 1dffa19
README.md
@@ -173,20 +173,6 @@ spectator.detectChanges();
173
spectator.detectComponentChanges();
174
```
175
176
-- `setInput()` - Changes the value of an @Input() of the tested component.
177
- Method runs `ngOnChanges` with `SimpleChanges` manually if it exists.
178
-```ts
179
-it('should...', () => {
180
- spectator.setInput('className', 'danger');
181
-
182
- spectator.setInput({
183
- className: 'danger'
184
- });
185
-});
186
-```
187
188
189
190
- `setInput()` - Changes the value of an @Input() of the tested component.
191
Method runs `ngOnChanges` with `SimpleChanges` manually if it exists.
192
```ts
0 commit comments