| 1 | # tee types are handled correctly |
| 2 | |
| 3 | Code |
| 4 | then(promise_resolve(1), tee = 4) |
| 5 | Condition |
| 6 | Error in `then()`: |
| 7 | ! `tee` must be `TRUE` or `FALSE` |
| 8 | |
| 9 | --- |
| 10 | |
| 11 | Code |
| 12 | catch(promise_resolve(1), function(err) { }, tee = "4") |
| 13 | Condition |
| 14 | Error in `catch()`: |
| 15 | ! `tee` must be `TRUE` or `FALSE` |
| 16 |