You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Inference should work in the same way for describe as it works for suite.
Actual behavior:
Placing the it under the 2nd level triggers the inference in a different way. The difference between them is that in the describe signature the PC generic from the first level is used in the setup function - removing the context: PC from the setup function or just not using it in the actual setup will make both levels work the same.
TypeScript Version: 4.0.0-dev.20200715
Search Terms: generic inference
Code
Expected behavior:
Inference should work in the same way for
describe
as it works forsuite
.Actual behavior:
Placing the
it
under the 2nd level triggers the inference in a different way. The difference between them is that in thedescribe
signature thePC
generic from the first level is used in the setup function - removing thecontext: PC
from the setup function or just not using it in the actual setup will make both levels work the same.Playground Link: Playground Link
Related Issues:
The text was updated successfully, but these errors were encountered: