Assertion.contains() requires same type as actual parameter in expect() #3537
Labels
AREA: server
AREA: TypeScript definitions
STATE: Auto-locked
An issue has been automatically locked by the Lock bot.
SYSTEM: API
TYPE: bug
The described behavior is considered as wrong (bug).
Milestone
What is your Test Scenario?
To have this test code to compile:
What is the Current behavior?
What is the Expected behavior?
Testcafe compiles the typescript and runs the tests and passes them.
Note: Using Javascript, the test runs successfully. defining expected values types as
any
will pass the compilation of the typescript:Your Environment details:
The text was updated successfully, but these errors were encountered: