This PR adds test scaffolding to the fern-typescript repository. It introduces Jest as a dev dependency and creates a new tests directory. A simple no-op test file is also included as a starting point for users to write their own tests. The test file demonstrates the syntax required for skipping tests using Jest. Additionally, a link to the Jest documentation is provided for users to learn more.
Summary of Changes
Added Jest as a dev dependency in the packages/generators/sdk/cli/package.json file.
Created a new tests directory to store test files.
Added a simple no-op test file, tests/noop.test.ts, as a starting point for users.
Updated the jest.config.ts file to include the new tests directory in the testMatch configuration.
Please review and merge this PR to enable testing in the fern-typescript repository.
Fixes #1.
To checkout this PR branch, run the following command in your terminal:
Description
This PR adds test scaffolding to the fern-typescript repository. It introduces Jest as a dev dependency and creates a new tests directory. A simple no-op test file is also included as a starting point for users to write their own tests. The test file demonstrates the syntax required for skipping tests using Jest. Additionally, a link to the Jest documentation is provided for users to learn more.
Summary of Changes
packages/generators/sdk/cli/package.json
file.tests
directory to store test files.tests/noop.test.ts
, as a starting point for users.jest.config.ts
file to include the new tests directory in thetestMatch
configuration.Please review and merge this PR to enable testing in the fern-typescript repository.
Fixes #1.
To checkout this PR branch, run the following command in your terminal: