extension icon indicating copy to clipboard operation
extension copied to clipboard

AbortController is not defined

Open Neurone opened this issue 2 years ago • 0 comments

Describe the bug Running the test suite you get tons of errors like:

Retrying request... ReferenceError: AbortController is not defined
    at /home/developer/workspace/extension/packages/background/src/utils/http.ts:2:2937

AbortController was introduced since NodeJS 15, but the required NodeJS version in .npmrc is 14.17.6. I suggest to upgrade to a newer version. I.e., I tried the test suite with NodeJS 16 and everything looks fine.

To Reproduce Steps to reproduce the behavior:

  1. Clone the repo
  2. make install
  3. make build
  4. make test
  5. See errors

Expected behavior Test suite runs without errors.

Screenshots N/A.

Desktop (please complete the following information):

  • OS: Ubuntu 22.04
  • Browser: N/A
  • Version: v1.1.6

Additional context N/A

Neurone avatar Sep 02 '23 05:09 Neurone