This PR adds test scaffolding to the generated SDK in the fern-typescript repository. The test scaffolding is similar to the one introduced in fern-python and uses jest as the testing framework.
Summary of Changes
Added jest to the list of dev dependencies in the package.json file.
Created a tests/ directory in the generated SDK to store test files.
Added a simple no-op test file (tests/noop.test.ts) in the tests/ directory.
Modified the generate.test.ts file to include the new test case in the FIXTURES array.
Please review and merge this PR to enable test scaffolding in the generated SDK.
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
Description
This PR adds test scaffolding to the generated SDK in the
fern-typescript
repository. The test scaffolding is similar to the one introduced infern-python
and usesjest
as the testing framework.Summary of Changes
jest
to the list of dev dependencies in thepackage.json
file.tests/
directory in the generated SDK to store test files.tests/noop.test.ts
) in thetests/
directory.generate.test.ts
file to include the new test case in theFIXTURES
array.Please review and merge this PR to enable test scaffolding in the generated SDK.
Fixes #1.
To checkout this PR branch, run the following command in your terminal: