Xotabu4/http-req-builder

Create build for Node 14.x LTS

AndreyMelnichenko opened this issue · 0 comments

Got unknown issue

Error
        at BaseClient.<anonymous> (/Users/andrey/projects/PopTopUk/playwrigh

      4 | test.describe('Api call', () => {
      5 |     test('should get parameteres from graphQL @dev', async () => {
    > 6 |         await new AuthClient().getAuthToken();
        |                                ^
      7 |     });
      8 | });
      9 |

    -test-ts/node_modules/http-req-builder/dist/index.js:58:27)
        at Generator.next (<anonymous>)
        at /Users/andrey/projects/PopTopUk/playwright-test-ts/node_modules/http-req-builder/dist/index.js:8:71
        at new Promise (<anonymous>)
        at __awaiter (/Users/andrey/projects/PopTopUk/playwright-test-ts/node_modules/http-req-builder/dist/index.js:4:12)
        at BaseClient.send (/Users/andrey/projects/PopTopUk/playwright-test-ts/node_modules/http-req-builder/dist/index.js:56:16)
        at AuthClient.getAuthToken (/Users/andrey/projects/PopTopUk/playwright-test-ts/src/apiClient/AuthClient.ts:54:14)
        at /Users/andrey/projects/PopTopUk/playwright-test-ts/test/e2e/Api.spec.ts:6:32
        at FixtureRunner.resolveParametersAndRunHookOrTest (/Users/andrey/projects/PopTopUk/playwright-test-ts/node_modules/@playwright/test/lib/test/fixtures.js:287:12)
        at WorkerRunner._runTestWithBeforeHooks (/Users/andrey/projects/PopTopUk/playwright-test-ts/node_modules/@playwright/test/lib/test/workerRunner.js:390:33)
        at processTicksAndRejections (internal/process/task_queues.js:93:5)

Let's try update project for Node 14.x LTS