Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
4901c15
improve coverage reports
harshithad0703 Oct 31, 2025
139f5fe
add unit tests for AssetQuery, Asset, BaseQuery, Cache, ContentType, …
harshithad0703 Oct 31, 2025
f7bce9c
add unit tests for Contentstack caching behavior
harshithad0703 Oct 31, 2025
5d6703b
add unit tests for test coverage
harshithad0703 Nov 1, 2025
be78783
Merge pull request #258 from contentstack/fix/dx-3674-improve-testcas…
harshithad0703 Nov 5, 2025
1d6fe87
Revert "feat: implement download script for regions.json and update p…
nadeem-cs Nov 5, 2025
3e11d29
Merge pull request #259 from contentstack/revert-255-enhancement/endp…
nadeem-cs Nov 5, 2025
1508842
Enh: add type casting helper for BaseQuery methods to return Query type
sunil-lakshman Nov 5, 2025
5a465b2
Added console.error mock to suppress the error output
sunil-lakshman Nov 6, 2025
ffbbd17
Updated package-lock file
sunil-lakshman Nov 6, 2025
f521bd7
refactor: region handling logic to utilize getContentstackEndpoint. …
nadeem-cs Nov 12, 2025
ea7f79a
fix: update default region handling in stack function and improve err…
nadeem-cs Nov 12, 2025
329b2a2
Merge pull request #262 from contentstack/enh/set-region-using-getCon…
nadeem-cs Nov 12, 2025
ab59edb
chore: :wastebasket: remove redundant code
nadeem-cs Nov 12, 2025
c1cef7a
Merge pull request #264 from contentstack/enh/set-region-using-getCon…
nadeem-cs Nov 12, 2025
53df972
Merge pull request #260 from contentstack/enh/dx-3226
harshithad0703 Nov 12, 2025
b578029
upgrade dependencies
harshithad0703 Nov 12, 2025
74b1714
Merge pull request #265 from contentstack/fix/update-dependency
harshithad0703 Nov 12, 2025
1d6aaea
fix version bump
harshithad0703 Nov 12, 2025
7d8dce1
Merge pull request #266 from contentstack/fix/version-bump
nadeem-cs Nov 12, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .github/workflows/coverage-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 'TS SDK - Unit Testing'

on:
pull_request:
branches:
- development
- staging
- main

jobs:
coverage:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
checks: write

steps:
- uses: actions/checkout@v4

- name: Run unit tests with coverage
uses: ArtiomTr/jest-coverage-report-action@v2
id: coverage
with:
test-script: npm run test:unit
threshold: 95
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,4 @@ coverage
.dccache
dist/*
*.log
.nx/
regions.json
.nx/
3 changes: 1 addition & 2 deletions .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,4 @@ src
*.tgz
.talismanrc
tap-html.html
.github
regions.json
.github
2 changes: 1 addition & 1 deletion .talismanrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
fileignoreconfig:
- filename: package-lock.json
checksum: 275bc45fd72f2a19f8634536e1e0ea3d6516ea554178d172f9e64d01521b06f7
checksum: 46c0d87a82455d4b2bae3347f7361dda71d2b979426b1c95ef707a9166c17778
- filename: test/unit/contentstack.spec.ts
checksum: d5b99c01459ab8bc597baaa9e6cc4aa91ac6d9bf78af08e1d0220d0c5db3d0b3
- filename: test/unit/utils.spec.ts
Expand Down
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
### Version: 4.10.2
#### Date: Oct-29-2025
#### Date: Nov-12-2025
Enhancement: Added logHandler interceptors for request and response logging
Enhancement: Upgraded @contentstack/utils dependency to version 1.6.2
Refactor: Replaced region handling logic to use getContentstackEndpoint from @contentstack/utils

### Version: 4.10.1
#### Date: Oct-27-2025
Expand Down
Loading