sweepai-dev / fern-typescript

Generate TypeScript models, clients, and server interfaces from your API definition.
MIT License
0 stars 0 forks source link

Add test scaffolding in generated SDK #4

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR adds test scaffolding in the generated SDK. It introduces Jest as a dev dependency and creates a tests/ directory in the generated SDK. Inside this directory, a simple no-op test is generated, including the syntax for skipping tests. Additionally, a link to the Jest documentation is included in the generated test.

Summary of Changes

Fixes #1.

To checkout this PR branch, run the following command in your terminal:

git checkout sweep/feature/test-scaffolding