fix: search for destination and display name[WTEL-4985/4776] #250
Annotations
2 errors and 1 warning
node_modules/@webitel/ui-sdk/src/api/crm/contacts.js#L100
AxiosError: Network Error
❯ XMLHttpRequest.handleError [as onerror] node_modules/axios/lib/adapters/xhr.js:110:14
❯ XMLHttpRequest.#callDispatchEventListeners node_modules/happy-dom/src/event/EventTarget.ts:240:24
❯ XMLHttpRequest.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:121:35
❯ XMLHttpRequest.#goThroughDispatchEventPhases node_modules/happy-dom/src/event/EventTarget.ts:184:32
❯ XMLHttpRequest.dispatchEvent node_modules/happy-dom/src/event/EventTarget.ts:116:38
❯ onError node_modules/happy-dom/src/xml-http-request/XMLHttpRequest.ts:368:10
❯ XMLHttpRequest.#sendAsync node_modules/happy-dom/src/xml-http-request/XMLHttpRequest.ts:385:4
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ Axios.request node_modules/axios/lib/core/Axios.js:45:41
❯ processTicksAndRejections node:internal/process/task_queues:95:5
❯ Object.getList node_modules/@webitel/ui-sdk/src/api/crm/contacts.js:100:22
⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯⎯
Serialized Error: { description: undefined, number: undefined, fileName: undefined, lineNumber: undefined, columnNumber: undefined, config: { transitional: { silentJSONParsing: true, forcedJSONParsing: true, clarifyTimeoutError: false }, adapter: [ 'xhr', 'http', 'fetch' ], transformRequest: [ 'Function<transformRequest>' ], transformResponse: [ 'Function<transformResponse>' ], timeout: +0, xsrfCookieName: 'XSRF-TOKEN', xsrfHeaderName: 'X-XSRF-TOKEN', maxContentLength: -1, maxBodyLength: -1, env: { FormData: 'Function<FormData>', Blob: 'Function<Blob>' }, validateStatus: 'Function<validateStatus>', headers: { Accept: 'application/json, text/plain, */*', 'X-Webitel-Access': '' }, baseURL: '/api', method: 'get', url: '/contacts?page=1&size=10&q=&sort=%2Bname&fields=mode&fields=id&fields=name&fields=managers&fields=labels&fields=about' }, code: 'ERR_NETWORK', status: undefined }
This error originated in "src/modules/contacts/components/__tests__/the-contacts.spec.js" test file. It doesn't mean the error was thrown inside the file itself, but while it was running.
The latest test that might've caused the error is "src/modules/contacts/components/__tests__/the-contacts.spec.js". It might mean one of the following:
- The error was thrown, while Vitest was running this test.
- If the error occurred after the test had been completed, this was the last documented test before it was thrown.
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading