Skip to content

Conversation

@Prashant-Surya
Copy link
Member

@Prashant-Surya Prashant-Surya commented Oct 28, 2025

Description

  • Move existing tests under unit folder
  • Create e2e folder to host specialised tests
  • Add jest config and test script to execute these
  • Fix types found during testing
  • Move all existing test scripts to jest based unit tests

Type of Change

  • Feature (non-breaking change which adds functionality)
  • Improvement (change that would cause existing functionality to not work as expected)

E2E Tests
image

Unit Tests
CleanShot 2025-10-29 at 17 45 08

@coderabbitai
Copy link

coderabbitai bot commented Oct 28, 2025

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch feat/tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@Prashant-Surya Prashant-Surya changed the title feat: add e2e test to verify project use case feat: add e2e and unit tests Oct 29, 2025
@sriramveeraghanta sriramveeraghanta merged commit e641778 into v0.2.x Oct 29, 2025
1 check passed
@sriramveeraghanta sriramveeraghanta deleted the feat/tests branch October 29, 2025 12:19
sriramveeraghanta added a commit that referenced this pull request Oct 29, 2025
* delete old sdk code

* [SILO-589] feat!: add handcrafted SDK v0.2.0 #8

* fix: prettier configuration (#10)

* feat!: add handcrafted SDK v0.2.0

- added models for each entities
- added APIs for all available Plane entities
- tests to verify e2e api sanity
- examples for reference

BREAKING CHANGE: must be carefully upgraded from 0.1.x versions as method signatures
are changed

* chore: adding prettier config

* chore: remove ds store

* fix: format all files

* chore: package imports

---------

Co-authored-by: Surya Prashanth <prashantsurya002@gmail.com>

* feat: add e2e and unit tests (#11)

* move existing tests under unit folder

* don't fail unit tests when env is not setup

* create helpers folder for test helpers

* feat: add e2e test to verify project use case

* add jest and tsconfig.jest files

* feat: add unit tests using jest for all entities

* fix: eslint (#12)

* chore: eslint config setup

* chore: updated the build test workflow

* chore: setup pnpm workflow

* chore: build errors

* chore: updated the push step

* ops: update publishing flow for new sdk (#13)

* ops: update publishing flow for nw sdk

* run only e2e tests in github actions

* chore: updated the publish workflow with corepack changes

* chore: remove unused imports

---------

Co-authored-by: Surya Prashanth <prashantsurya002@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants