Check if window exist before bind event. Change exports in package.json #42
Annotations
8 errors and 1 warning
src/tests/store/filter.test.ts:
src/setupTests.ts#L2
ReferenceError: Response is not defined
❯ node_modules/msw/src/core/HttpResponse.ts:38:35
❯ src/setupTests.ts:2:31
|
src/tests/store/observationMatrices.test.ts:
src/setupTests.ts#L2
ReferenceError: Response is not defined
❯ node_modules/msw/src/core/HttpResponse.ts:38:35
❯ src/setupTests.ts:2:31
|
src/tests/components/DescriptorList.test.ts:
src/setupTests.ts#L2
ReferenceError: Response is not defined
❯ node_modules/msw/src/core/HttpResponse.ts:38:35
❯ src/setupTests.ts:2:31
|
src/tests/components/FilterKeywords.test.ts:
src/setupTests.ts#L2
ReferenceError: Response is not defined
❯ node_modules/msw/src/core/HttpResponse.ts:38:35
❯ src/setupTests.ts:2:31
|
src/tests/components/FilterLanguages.test.ts:
src/setupTests.ts#L2
ReferenceError: Response is not defined
❯ node_modules/msw/src/core/HttpResponse.ts:38:35
❯ src/setupTests.ts:2:31
|
src/tests/components/PanelRemaining.test.ts:
src/setupTests.ts#L2
ReferenceError: Response is not defined
❯ node_modules/msw/src/core/HttpResponse.ts:38:35
❯ src/setupTests.ts:2:31
|
src/tests/components/citationLabel.test.ts:
src/setupTests.ts#L2
ReferenceError: Response is not defined
❯ node_modules/msw/src/core/HttpResponse.ts:38:35
❯ src/setupTests.ts:2:31
|
build (16.x)
Process completed with exit code 1.
|
build (16.x)
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/
|