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 to generated SDK #9

Closed sweep-ai[bot] closed 1 year ago

sweep-ai[bot] commented 1 year ago

Description

This PR adds test scaffolding to the generated SDK. It introduces a tests/ directory and a simple no-op test file within it. The test file includes syntax for skipping tests using Jest's skip method and a link to Jest's documentation for further learning. Jest is also added as a dev dependency in the package.json file of the generated SDK. Additionally, a test script is included in the package.json file to run Jest on the tests/ directory.

Summary of Changes

Fixes #1.

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

git checkout sweep/add-test-scaffolding