-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: Testing
Description
The cursor typescript tests are currently written like a block of example code with mostly implicit checks of typescript types relying on passing compilation. We should increase confidence and strictness in these tests by converting them to be an explicit set of expectations. This also make clear what we have coverage on.
Dependencies
- Our tsd tests in test/types (community/cursor.test-d.ts)
Unknowns
- Is there anything that we can't capture in an expectation? (Unlikely, but possibly)
Acceptance Criteria
Implementation Requirements
- Converted test to use tsd assertions exclusively
- Pass the type_check.test.js test