Skip to content

Improve error messages #168

Improve error messages

Improve error messages #168

Triggered via pull request November 24, 2025 05:05
Status Success
Total duration 9s
Artifacts

policy-scan.yml

on: pull_request
security-policy
4s
security-policy
security-license
3s
security-license
Fit to window
Zoom out
Zoom in

Annotations

33 errors
Content Validation - Comprehensive Test Suite > Query Validation > should validate field UID in query operations: test/unit/content-validation-comprehensive.spec.ts#L645
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid fieldUid:", "invalid field" Received: "Invalid fieldUid. Provide an alphanumeric field UID and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/content-validation-comprehensive.spec.ts:663:26) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Content Validation - Comprehensive Test Suite > Query Validation > should validate query value types: test/unit/content-validation-comprehensive.spec.ts#L701
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value (expected string or number):", [] Received 1: "Invalid fieldUid. Provide an alphanumeric field UID and try again." 2: "Invalid value. Provide a string or number and try again." 3: "Invalid value. Provide a string or number and try again." Number of calls: 4 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/content-validation-comprehensive.spec.ts:716:26) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query Optimization - Comprehensive Test Suite > Parameter Validation > should validate field UIDs for alphanumeric characters: test/unit/query-optimization-comprehensive.spec.ts#L165
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid fieldUid:", "invalid field" Received 1: "Invalid fieldUid. Provide an alphanumeric field UID and try again." 2: "Invalid fieldUid. Provide an alphanumeric field UID and try again." 3: "Invalid fieldUid. Provide an alphanumeric field UID and try again." Number of calls: 3 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query-optimization-comprehensive.spec.ts:180:26) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query Optimization - Comprehensive Test Suite > Parameter Validation > should validate containedIn values for proper types: test/unit/query-optimization-comprehensive.spec.ts#L198
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value:", [{}, null, undefined] Received 1: "Invalid value. Provide an array of strings, numbers, or booleans and try again." 2: "Invalid value. Provide an array of strings, numbers, or booleans and try again." Number of calls: 2 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query-optimization-comprehensive.spec.ts:210:26) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query Optimization - Comprehensive Test Suite > Parameter Validation > should validate value types for comparison operations: test/unit/query-optimization-comprehensive.spec.ts#L227
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value (expected string or number):", {} Received 1: "Invalid value. Provide a string or number and try again." 2: "Invalid value. Provide a string or number and try again." 3: "Invalid value. Provide a string or number and try again." Number of calls: 4 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query-optimization-comprehensive.spec.ts:242:26) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query Optimization - Comprehensive Test Suite > Parameter Validation > should validate search key for typeahead: test/unit/query-optimization-comprehensive.spec.ts#L248
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid search" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query-optimization-comprehensive.spec.ts:257:26) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when where() receives invalid fieldUid: test/unit/query.spec.ts#L184
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid fieldUid:", "invalid@field!" Received: "Invalid fieldUid. Provide an alphanumeric field UID and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:186:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when regex() receives invalid fieldUid: test/unit/query.spec.ts#L191
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid fieldUid:", "invalid@field!" Received: "Invalid fieldUid. Provide an alphanumeric field UID and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:193:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when containedIn() receives invalid key: test/unit/query.spec.ts#L197
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@key!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:199:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when containedIn() receives invalid value: test/unit/query.spec.ts#L204
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value:", ["value1", {"invalid": "object"}] Received: "Invalid value. Provide an array of strings, numbers, or booleans and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:206:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when notContainedIn() receives invalid key: test/unit/query.spec.ts#L210
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@key!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:212:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when notContainedIn() receives invalid value: test/unit/query.spec.ts#L216
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value:", [null] Received: "Invalid value. Provide an array of strings, numbers, or booleans and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:218:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when exists() receives invalid key: test/unit/query.spec.ts#L222
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@key!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:224:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when notExists() receives invalid key: test/unit/query.spec.ts#L228
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@key!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:230:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when equalTo() receives invalid key: test/unit/query.spec.ts#L234
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@key!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:236:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when equalTo() receives invalid value (null): test/unit/query.spec.ts#L240
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value (expected string or number):", null Received: "Invalid value. Provide a string or number and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:242:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when equalTo() receives invalid value (undefined): test/unit/query.spec.ts#L246
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value (expected string or number):", undefined Received: "Invalid value. Provide a string or number and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:248:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when notEqualTo() receives invalid key: test/unit/query.spec.ts#L252
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@key!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:254:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when notEqualTo() receives invalid value: test/unit/query.spec.ts#L258
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value (expected string or number):", {} Received: "Invalid value. Provide a string or number and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:260:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when referenceIn() receives invalid key: test/unit/query.spec.ts#L264
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@key!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:267:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when referenceNotIn() receives invalid key: test/unit/query.spec.ts#L271
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@key!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:274:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when tags() receives invalid value: test/unit/query.spec.ts#L278
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value:", [{"invalid": "object"}] Received: "Invalid value. Provide an array of strings, numbers, or booleans and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:280:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when search() receives invalid key: test/unit/query.spec.ts#L284
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@search!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:286:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when lessThan() receives invalid key: test/unit/query.spec.ts#L290
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@key!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:292:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when lessThan() receives invalid value: test/unit/query.spec.ts#L296
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value (expected string or number):", {} Received: "Invalid value. Provide a string or number and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:298:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when lessThanOrEqualTo() receives invalid key: test/unit/query.spec.ts#L302
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@key!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:304:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when lessThanOrEqualTo() receives invalid value: test/unit/query.spec.ts#L308
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value (expected string or number):", [] Received: "Invalid value. Provide a string or number and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:310:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when greaterThan() receives invalid key: test/unit/query.spec.ts#L314
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@key!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:316:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when greaterThan() receives invalid value: test/unit/query.spec.ts#L320
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value (expected string or number):", null Received: "Invalid value. Provide a string or number and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:322:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when greaterThanOrEqualTo() receives invalid key: test/unit/query.spec.ts#L326
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid key:", "invalid@key!" Received: "Invalid key. Provide an alphanumeric key and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:328:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Query class > validation error handling > should log error and return this when greaterThanOrEqualTo() receives invalid value: test/unit/query.spec.ts#L332
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Invalid value (expected string or number):", undefined Received: "Invalid value. Provide a string or number and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/query.spec.ts:334:31) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Entries class > should log error when includeReference called with no arguments: test/unit/entries.spec.ts#L46
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Argument should be a String or an Array." Received: "Invalid argument. Provide a string or an array and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/entries.spec.ts:49:29) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)
Entry class > should log error when includeReference called with no arguments: test/unit/entry.spec.ts#L52
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "Argument should be a String or an Array." Received: "Invalid argument. Provide a string or an array and try again." Number of calls: 1 at Object.<anonymous> (/home/runner/work/contentstack-typescript/contentstack-typescript/test/unit/entry.spec.ts:55:29) at Promise.then.completed (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:95:5) at _runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:121:9) at run (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/home/runner/work/contentstack-typescript/contentstack-typescript/node_modules/jest-runner/build/testWorker.js:106:12)