Commit ee48b94
committed
fix: make console stubs call through to original
Using stub().callThrough() allows us to:
1. Track calls for assertions
2. Still execute the original console methods
3. Avoid wrapping errors in VS Code test environment
This should fix the 2 failing tests that check if console.log was called.1 parent 108a510 commit ee48b94
1 file changed
Lines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
191 | 191 | | |
192 | 192 | | |
193 | 193 | | |
| |||
0 commit comments