Skip to content

refactor: simplify changed version card message logic #1419

refactor: simplify changed version card message logic

refactor: simplify changed version card message logic #1419

GitHub Actions / Jest Unit Test Results failed Nov 29, 2024 in 0s

304 fail, 280 pass in 3m 47s

    1 files  ±0  223 suites  ±0   3m 47s ⏱️ +2s
584 tests  - 2  280 ✔️  - 1  0 💤 ±0  304  - 1 
587 runs   - 2  283 ✔️  - 1  0 💤 ±0  304  - 1 

Results for commit 0bb039f. ± Comparison against earlier commit 96b52f3.

Annotations

Check warning on line 0 in PluginFindRecord should display open plugin modal with loading

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

PluginFindRecord should display open plugin modal with loading (PluginFindRecord should display open plugin modal with loading) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/PluginFindRecord/PluginFindRecord.test.js:80:23)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in PluginFindRecord should display open plugin modal with failure

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

PluginFindRecord should display open plugin modal with failure (PluginFindRecord should display open plugin modal with failure) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/PluginFindRecord/PluginFindRecord.test.js:95:23)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in PluginFindRecord should display open plugin modal

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

PluginFindRecord should display open plugin modal (PluginFindRecord should display open plugin modal) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/PluginFindRecord/PluginFindRecord.test.js:109:23)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in PluginFindRecord should call back with select thing multiple select

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

PluginFindRecord should call back with select thing multiple select (PluginFindRecord should call back with select thing multiple select) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/PluginFindRecord/PluginFindRecord.test.js:124:23)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in PluginFindRecord should call back validation fn with select thing multiple select

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

PluginFindRecord should call back validation fn with select thing multiple select (PluginFindRecord should call back validation fn with select thing multiple select) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/PluginFindRecord/PluginFindRecord.test.js:144:23)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in PluginFindRecord trigerless mode should not display open trigger button

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

PluginFindRecord trigerless mode should not display open trigger button (PluginFindRecord trigerless mode should not display open trigger button) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at queryByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/PluginFindRecord/PluginFindRecord.test.js:167:21)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at DocumentImpl.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
    at Document.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Document.js:992:58)
    at Object.release (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Modal/WrappingElement.js:31:47)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Modal/WrappingElement.js:140:14
    at safelyCallDestroy (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:22971:5)
    at commitHookEffectListUnmount (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:23139:11)
    at commitPassiveUnmountInsideDeletedTreeOnFiber (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:25140:11)
    at commitPassiveUnmountEffectsInsideOfDeletedTree_begin (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:25087:5)
    at commitPassiveUnmountEffects_begin (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24995:11)
    at commitPassiveUnmountEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24980:3)
    at flushPassiveEffectsImpl (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27077:3)
    at flushPassiveEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27023:14)
    at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26115:3)
    at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
    at Object.unmountComponentAtNode (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29781:5)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:144:23
    at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
    at actWithWarning (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at cleanupAtContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:143:26)
    at Set.forEach (<anonymous>)
    at cleanup (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:137:21)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/index.js:33:25)
    at Object.asyncJestLifecycle (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:58:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in PluginFindRecord trigerless mode should display opened modal by default

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

PluginFindRecord trigerless mode should display opened modal by default (PluginFindRecord trigerless mode should display opened modal by default) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/PluginFindRecord/PluginFindRecord.test.js:180:21)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at DocumentImpl.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
    at Document.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Document.js:992:58)
    at Object.release (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Modal/WrappingElement.js:31:47)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Modal/WrappingElement.js:140:14
    at safelyCallDestroy (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:22971:5)
    at commitHookEffectListUnmount (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:23139:11)
    at commitPassiveUnmountInsideDeletedTreeOnFiber (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:25140:11)
    at commitPassiveUnmountEffectsInsideOfDeletedTree_begin (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:25087:5)
    at commitPassiveUnmountEffects_begin (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24995:11)
    at commitPassiveUnmountEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24980:3)
    at flushPassiveEffectsImpl (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27077:3)
    at flushPassiveEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27023:14)
    at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26115:3)
    at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
    at Object.unmountComponentAtNode (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29781:5)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:144:23
    at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
    at actWithWarning (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at cleanupAtContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:143:26)
    at Set.forEach (<anonymous>)
    at cleanup (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:137:21)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/index.js:33:25)
    at Object.asyncJestLifecycle (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:58:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in FindLocationLookup should render FindRecords component

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

FindLocationLookup should render FindRecords component (FindLocationLookup should render FindRecords component) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLDivElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLDivElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Selection/SelectionOverlay.js:39:33
    at commitHookEffectListMount (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitPassiveMountOnFiber (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24970:11)
    at commitPassiveMountEffects_complete (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24930:9)
    at commitPassiveMountEffects_begin (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24917:7)
    at commitPassiveMountEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24905:3)
    at flushPassiveEffectsImpl (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27078:3)
    at flushPassiveEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27023:14)
    at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26115:3)
    at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
    at legacyCreateRootFromDOMContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29614:5)
    at legacyRenderSubtreeIntoContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29640:12)
    at Object.render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29731:10)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:101:25
    at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
    at actWithWarning (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:97:26)
    at renderFindLocationLookup (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FindLocation/FindLocationLookup.test.js:60:51)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FindLocation/FindLocationLookup.test.js:108:27)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at DocumentImpl.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
    at Document.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Document.js:992:58)
    at Object.release (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Modal/WrappingElement.js:31:47)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Modal/WrappingElement.js:140:14
    at safelyCallDestroy (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:22971:5)
    at commitHookEffectListUnmount (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:23139:11)
    at commitPassiveUnmountInsideDeletedTreeOnFiber (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:25140:11)
    at commitPassiveUnmountEffectsInsideOfDeletedTree_begin (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:25087:5)
    at commitPassiveUnmountEffects_begin (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24995:11)
    at commitPassiveUnmountEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24980:3)
    at flushPassiveEffectsImpl (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27077:3)
    at flushPassiveEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27023:14)
    at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26215:5)
    at Object.unmountComponentAtNode (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29781:5)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:144:23
    at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
    at actWithWarning (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at cleanupAtContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:143:26)
    at Set.forEach (<anonymous>)
    at cleanup (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:137:21)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/index.js:33:25)
    at Object.asyncJestLifecycle (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:58:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in FindLocationLookup should clear filters on tenant change

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

FindLocationLookup should clear filters on tenant change (FindLocationLookup should clear filters on tenant change) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLDivElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLDivElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Selection/SelectionOverlay.js:39:33
    at commitHookEffectListMount (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitPassiveMountOnFiber (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24970:11)
    at commitPassiveMountEffects_complete (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24930:9)
    at commitPassiveMountEffects_begin (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24917:7)
    at commitPassiveMountEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24905:3)
    at flushPassiveEffectsImpl (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27078:3)
    at flushPassiveEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27023:14)
    at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26115:3)
    at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
    at legacyCreateRootFromDOMContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29614:5)
    at legacyRenderSubtreeIntoContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29640:12)
    at Object.render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29731:10)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:101:25
    at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
    at actWithWarning (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:97:26)
    at renderFindLocationLookup (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FindLocation/FindLocationLookup.test.js:60:51)
    at _callee$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FindLocation/FindLocationLookup.test.js:176:5)
    at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
    at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at DocumentImpl.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
    at Document.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Document.js:992:58)
    at Object.release (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Modal/WrappingElement.js:31:47)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/Modal/WrappingElement.js:140:14
    at safelyCallDestroy (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:22971:5)
    at commitHookEffectListUnmount (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:23139:11)
    at commitPassiveUnmountInsideDeletedTreeOnFiber (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:25140:11)
    at commitPassiveUnmountEffectsInsideOfDeletedTree_begin (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:25087:5)
    at commitPassiveUnmountEffects_begin (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24995:11)
    at commitPassiveUnmountEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24980:3)
    at flushPassiveEffectsImpl (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27077:3)
    at flushPassiveEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:27023:14)
    at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26215:5)
    at Object.unmountComponentAtNode (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29781:5)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:144:23
    at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
    at actWithWarning (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at cleanupAtContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:143:26)
    at Set.forEach (<anonymous>)
    at cleanup (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:137:21)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/index.js:33:25)
    at Object.asyncJestLifecycle (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:58:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in VersionHistoryPane should display loading pane if references are loading

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

VersionHistoryPane should display loading pane if references are loading (VersionHistoryPane should display loading pane if references are loading) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at queryByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/VersionHistory/VersionHistoryPane/VersionHistoryPane.test.js:70:19)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in VersionHistoryPane should display version history pane

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

VersionHistoryPane should display version history pane (VersionHistoryPane should display version history pane) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/VersionHistory/VersionHistoryPane/VersionHistoryPane.test.js:76:19)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in VersionHistoryPane should display version history cards

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

VersionHistoryPane should display version history cards (VersionHistoryPane should display version history cards) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/VersionHistory/VersionHistoryPane/VersionHistoryPane.test.js:96:19)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in VersionHistoryPane should display "System maintenance update" label if there is only system changes

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

VersionHistoryPane should display "System maintenance update" label if there is only system changes (VersionHistoryPane should display "System maintenance update" label if there is only system changes) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/VersionHistory/VersionHistoryPane/VersionHistoryPane.test.js:113:19)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in VersionHistoryPane should not display version cards without changed fields

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

VersionHistoryPane should not display version cards without changed fields (VersionHistoryPane should not display version cards without changed fields) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at getAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:130:15)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/VersionHistory/VersionHistoryPane/VersionHistoryPane.test.js:130:33)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in VersionHistoryPane should display 'Original version' label for the first version

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

VersionHistoryPane should display 'Original version' label for the first version (VersionHistoryPane should display 'Original version' label for the first version) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at _callee$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/VersionHistory/VersionHistoryPane/VersionHistoryPane.test.js:138:19)
    at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
    at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in VersionHistoryPane should call 'onClose' handler when 'Close' icon button was clicked

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

VersionHistoryPane should call 'onClose' handler when 'Close' icon button was clicked (VersionHistoryPane should call 'onClose' handler when 'Close' icon button was clicked) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
    at HTMLBodyElement.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1070:58)
    at queryAllByRole (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/role.js:95:31)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByRole (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at _callee2$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/VersionHistory/VersionHistoryPane/VersionHistoryPane.test.js:144:45)
    at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
    at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
    at new Promise (<anonymous>)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12
    at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
    at actWithWarning (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at _callee3$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/VersionHistory/VersionHistoryPane/VersionHistoryPane.test.js:144:14)
    at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
    at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in AcqDateRangeFilter component should display passed title

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

AcqDateRangeFilter component should display passed title (AcqDateRangeFilter component should display passed title) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/AcqDateRangeFilter/AcqDateRangeFilter.test.js:35:12)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in AcqDateRangeFilter component should be closed by default

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

AcqDateRangeFilter component should be closed by default (AcqDateRangeFilter component should be closed by default) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLDivElementImpl.querySelector (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:68:21)
    at HTMLDivElement.querySelector (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1046:58)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/AcqDateRangeFilter/AcqDateRangeFilter.test.js:40:30)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in AcqDateRangeFilter component should be opened by default when closedByDefault=false prop is passed

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

AcqDateRangeFilter component should be opened by default when closedByDefault=false prop is passed (AcqDateRangeFilter component should be opened by default when closedByDefault=false prop is passed) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLDivElementImpl.querySelector (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:68:21)
    at HTMLDivElement.querySelector (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1046:58)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/AcqDateRangeFilter/AcqDateRangeFilter.test.js:53:30)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in AcqDateRangeFilter component should invoke onChange callback when date is entered and Applied

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

AcqDateRangeFilter component should invoke onChange callback when date is entered and Applied (AcqDateRangeFilter component should invoke onChange callback when date is entered and Applied) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
    at HTMLBodyElement.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1070:58)
    at queryAllByLabelText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/label-text.js:62:57)
    at getAllByLabelText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/label-text.js:105:15)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByLabelText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at _callee$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/AcqDateRangeFilter/AcqDateRangeFilter.test.js:61:22)
    at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
    at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in AcqDateRangeFilter component should invoke onChange callback when customDateFormat used

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

AcqDateRangeFilter component should invoke onChange callback when customDateFormat used (AcqDateRangeFilter component should invoke onChange callback when customDateFormat used) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
    at HTMLBodyElement.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1070:58)
    at queryAllByLabelText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/label-text.js:62:57)
    at getAllByLabelText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/label-text.js:105:15)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByLabelText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at _callee2$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/AcqDateRangeFilter/AcqDateRangeFilter.test.js:81:22)
    at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
    at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in AcqDateRangeFilter component when reset handler is called should clear dates

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

AcqDateRangeFilter component when reset handler is called should clear dates (AcqDateRangeFilter component when reset handler is called should clear dates) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/ParentNode-impl.js:77:21)
    at HTMLBodyElement.querySelectorAll (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:1070:58)
    at queryAllByLabelText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/label-text.js:62:57)
    at getAllByLabelText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/label-text.js:105:15)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByLabelText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at _callee3$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/AcqDateRangeFilter/AcqDateRangeFilter.test.js:105:24)
    at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
    at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in FindLocation should render locations lookup trigger

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

FindLocation should render locations lookup trigger (FindLocation should render locations lookup trigger) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FindLocation/FindLocation.test.js:91:19)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in FindLocation should open locations lookup when trigger clicked

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

FindLocation should open locations lookup when trigger clicked (FindLocation should open locations lookup when trigger clicked) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.addNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:38:24)
    at HTMLBodyElementImpl.ElementImpl.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/nodes/Element-impl.js:569:19)
    at HTMLBodyElement.matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/generated/Element.js:630:34)
    at queryAllByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/queries/text.js:33:60)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:87:17
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:62:17
    at getByText (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/dom/dist/query-helpers.js:111:19)
    at _callee$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FindLocation/FindLocation.test.js:97:29)
    at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
    at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

Check warning on line 0 in FindLocation should open triggerless locations lookup

See this annotation in the file changed.

@github-actions github-actions / Jest Unit Test Results

FindLocation should open triggerless locations lookup (FindLocation should open triggerless locations lookup) failed

artifacts/jest-junit/junit.xml
Raw output
ReferenceError: document is not defined
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:215:21
    at Factory (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/nwsapi/src/nwsapi.js:245:6)
    at initNwsapi (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:10:10)
    at exports.matchesDontThrow (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/selectors.js:20:33)
    at matches (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:50:10)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:35:18
    at Array.forEach (<anonymous>)
    at handleSheet (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:26:13)
    at exports.forEachMatchingSheetRuleOfElement (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/living/helpers/style-rules.js:45:3)
    at getComputedStyle (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jsdom/lib/jsdom/browser/Window.js:802:5)
    at getScrollParent (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/util/getScrollParent.js:16:15)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@folio/stripes-components/lib/MultiColumnList/CenteredContainer.js:15:30
    at commitHookEffectListMount (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:23189:26)
    at commitLayoutEffectOnFiber (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:23312:15)
    at commitLayoutMountEffects_complete (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24727:9)
    at commitLayoutEffects_begin (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24713:7)
    at commitLayoutEffects (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:24651:3)
    at commitRootImpl (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26862:5)
    at commitRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26721:5)
    at performSyncWorkOnRoot (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26156:3)
    at flushSyncCallbacks (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:12042:22)
    at flushSync (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:26240:7)
    at legacyCreateRootFromDOMContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29614:5)
    at legacyRenderSubtreeIntoContainer (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29640:12)
    at Object.render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom.development.js:29731:10)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:101:25
    at act (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react/cjs/react.development.js:2512:16)
    at actWithWarning (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/react-dom/cjs/react-dom-test-utils.development.js:1740:10)
    at render (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@testing-library/react/dist/pure.js:97:26)
    at renderFindLocation (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FindLocation/FindLocation.test.js:61:50)
    at _callee2$ (/home/runner/work/stripes-acq-components/stripes-acq-components/lib/FindLocation/FindLocation.test.js:103:5)
    at tryCatch (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:45:16)
    at Generator.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:133:17)
    at Generator.next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/regeneratorRuntime.js:74:21)
    at asyncGeneratorStep (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:3:17)
    at _next (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:17:9)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:22:7
    at new Promise (<anonymous>)
    at Object.<anonymous> (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/@babel/runtime/helpers/asyncToGenerator.js:14:12)
    at Object.asyncJestTest (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/jasmineAsyncInstall.js:106:37)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:45:12
    at new Promise (<anonymous>)
    at mapper (/home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:28:19)
    at /home/runner/work/stripes-acq-components/stripes-acq-components/node_modules/jest-jasmine2/build/queueRunner.js:75:41
    at processTicksAndRejections (node:internal/process/task_queues:95:5)