Skip to content

Merge pull request #203 from contentstack/staging #220

Merge pull request #203 from contentstack/staging

Merge pull request #203 from contentstack/staging #220

Triggered via push November 3, 2025 11:15
Status Failure
Total duration 47s
Artifacts

ci.yml

on: push
build-test
43s
build-test
Fit to window
Zoom out
Zoom in

Annotations

55 errors
build-test
HttpError: Resource not accessible by integration
build-test
Process completed with exit code 1.
build-test
Jest coverage report action failed
build-test
HttpError: Resource not accessible by integration HttpError: Resource not accessible by integration at /home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:8:324893 at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async C3 (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2108:104) at async /home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2146:17101 at async _r (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2137:158) at async jN (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2146:16937)
build-test
Missing `checks: write` permission Error: Missing `checks: write` permission at ib (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2146:15140) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async /home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2146:16838 at async _r (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2137:158) at async jN (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2146:16567)
build-test
Missing `checks: write` permission Error: Missing `checks: write` permission at ib (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2146:15140) at process.processTicksAndRejections (node:internal/process/task_queues:105:5) at async /home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2146:16543 at async _r (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2137:158) at async jN (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:2146:16393)
build-test
Error: The process '/opt/hostedtoolcache/node/22.21.1/x64/bin/npx' failed with exit code 1 Error: The process '/opt/hostedtoolcache/node/22.21.1/x64/bin/npx' failed with exit code 1 at wd._setResult (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:19186) at wd.CheckComplete (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:18773) at ChildProcess.<anonymous> (/home/runner/work/_actions/ArtiomTr/jest-coverage-report-action/v2/dist/index.js:21:17765) at ChildProcess.emit (node:events:519:28) at maybeClose (node:internal/child_process:1101:16) at ChildProcess._handle.onexit (node:internal/child_process:304:5)
getContentstackEndpoint > Basic functionality > should return default endpoints for valid region without service: __test__/endpoints.test.ts#L26
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:27:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Basic functionality > should return specific service endpoint for valid region and service: __test__/endpoints.test.ts#L35
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:36:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Basic functionality > should return EU endpoints for EU region: __test__/endpoints.test.ts#L41
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:42:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Basic functionality > should return undefined for invalid service: __test__/endpoints.test.ts#L47
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:48:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Region alias matching > should match region by alias "na": __test__/endpoints.test.ts#L55
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:56:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Region alias matching > should match region by alias "aws-na": __test__/endpoints.test.ts#L61
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:62:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Region alias matching > should match region by alias "aws_na": __test__/endpoints.test.ts#L67
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:68:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Region alias matching > should be case insensitive for region matching: __test__/endpoints.test.ts#L73
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:74:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Region alias matching > should trim whitespace from region input: __test__/endpoints.test.ts#L79
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:80:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > omitHttps parameter > should strip https from string endpoint when omitHttps is true: __test__/endpoints.test.ts#L87
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:88:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > omitHttps parameter > should strip https from all endpoints when omitHttps is true and no service specified: __test__/endpoints.test.ts#L93
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:94:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > omitHttps parameter > should preserve https when omitHttps is false: __test__/endpoints.test.ts#L101
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:102:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Error handling and edge cases > should return default endpoint for invalid region: __test__/endpoints.test.ts#L115
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:116:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Error handling and edge cases > should return default endpoint for region with underscores/dashes: __test__/endpoints.test.ts#L121
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:122:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Error handling and edge cases > should handle malformed regions data gracefully: __test__/endpoints.test.ts#L127
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:131:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Error handling and edge cases > should fallback to default when region is not found: __test__/endpoints.test.ts#L136
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:137:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Default parameters > should use default region "us" when no region provided: __test__/endpoints.test.ts#L144
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:145:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Default parameters > should use default service "" when no service provided: __test__/endpoints.test.ts#L152
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:153:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Default parameters > should use default omitHttps false when not provided: __test__/endpoints.test.ts#L159
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:160:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct application endpoint: __test__/endpoints.test.ts#L167
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:168:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct auth endpoint: __test__/endpoints.test.ts#L173
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:174:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct graphqlDelivery endpoint: __test__/endpoints.test.ts#L179
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:180:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct preview endpoint: __test__/endpoints.test.ts#L185
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:186:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct images endpoint: __test__/endpoints.test.ts#L191
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:192:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct assets endpoint: __test__/endpoints.test.ts#L197
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:198:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct automate endpoint: __test__/endpoints.test.ts#L203
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:204:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct launch endpoint: __test__/endpoints.test.ts#L209
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:210:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct developerHub endpoint: __test__/endpoints.test.ts#L215
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:216:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct brandKit endpoint: __test__/endpoints.test.ts#L221
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:222:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct genAI endpoint: __test__/endpoints.test.ts#L227
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:228:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct personalize endpoint: __test__/endpoints.test.ts#L233
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:234:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Service-specific endpoints > should return correct personalizeEdge endpoint: __test__/endpoints.test.ts#L239
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:240:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Different regions > should return correct EU endpoints: __test__/endpoints.test.ts#L247
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:248:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Different regions > should return correct Azure NA endpoints: __test__/endpoints.test.ts#L253
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:254:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Different regions > should return correct GCP NA endpoints: __test__/endpoints.test.ts#L259
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:260:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Additional regions and aliases > should return correct Australia endpoints: __test__/endpoints.test.ts#L267
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:268:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Additional regions and aliases > should match Australia region by alias "aws-au": __test__/endpoints.test.ts#L273
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:274:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Additional regions and aliases > should return correct Azure EU endpoints: __test__/endpoints.test.ts#L279
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:280:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Additional regions and aliases > should return correct GCP EU endpoints: __test__/endpoints.test.ts#L285
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:286:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Additional regions and aliases > should match Azure region by underscore alias: __test__/endpoints.test.ts#L291
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:292:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Additional regions and aliases > should match GCP region by underscore alias: __test__/endpoints.test.ts#L297
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:298:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Edge cases and error scenarios > should handle null region gracefully: __test__/endpoints.test.ts#L305
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:306:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Edge cases and error scenarios > should handle undefined region gracefully: __test__/endpoints.test.ts#L311
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:312:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Edge cases and error scenarios > should handle region with only whitespace: __test__/endpoints.test.ts#L317
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:318:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Edge cases and error scenarios > should handle region with special characters: __test__/endpoints.test.ts#L323
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:324:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Edge cases and error scenarios > should handle very long region name: __test__/endpoints.test.ts#L329
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:331:45) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Console warnings > should warn for invalid region: __test__/endpoints.test.ts#L342
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:343:30) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
getContentstackEndpoint > Console warnings > should warn for failed endpoint fetch: __test__/endpoints.test.ts#L348
Error: regions.json file not found at dist/lib/regions.json. Please ensure the package is properly installed and postinstall script has run. at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:42:9) at loadRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:50:21) at getRegions (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:114:19) at getDefaultEndpoint (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/src/endpoints.ts:109:12) at Object.<anonymous> (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/__test__/endpoints.test.ts:349:30) at Promise.then.completed (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-utils-javascript/contentstack-utils-javascript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)