-
Notifications
You must be signed in to change notification settings - Fork 57
SDK type tests with tsd #260
Copy link
Copy link
Open
Labels
Stellar WaveDrips Wave program issueDrips Wave program issuearea:sdkTypeScript SDKTypeScript SDKarea:testsTesting and coverageTesting and coveragedifficulty:easy~1-3 hours~1-3 hoursgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Metadata
Metadata
Assignees
Labels
Stellar WaveDrips Wave program issueDrips Wave program issuearea:sdkTypeScript SDKTypeScript SDKarea:testsTesting and coverageTesting and coveragedifficulty:easy~1-3 hours~1-3 hoursgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is needed
Background
Type-level regressions slip through
tsc --noEmit.tsdlets us write assertions likeexpectType<Foo>(bar).What to build
A
test-d/directory with assertions for the most-used SDK return types.Key files
sdk/test-d/index.test-d.ts(new)sdk/package.json(addtsdto scripts)Acceptance criteria
npm run test-d