-
Type:
Improvement
-
Resolution: Unresolved
-
Priority:
Unknown
-
None
-
Affects Version/s: None
-
Component/s: Testing
Description
The transaction typescript tests are currently written like a block of example code that implicitly checks a number of typescript types simply by 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/transaction.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