fix: useScrollLockController rm useEffect #6526
pull_request_packages.yml
on: pull_request
Detect what files changed
4s
Call reusable workflow
/
Run unit tests
2m 2s
Run linters
2m 21s
Call reusable workflow
/
get_playwright_docker_image
16s
Upload docs dist artifact (styleguide)
2m 21s
Upload docs dist artifact (storybook)
1m 38s
Analyze bundle size
2m 26s
Upload docs dist artifact (beta)
2m 1s
Check dependencies
0s
Report unit test results
6s
Matrix: Call reusable workflow / test_e2e
Call reusable workflow
/
Download PR workflow payload artifact
0s
Call reusable workflow
/
Upload PR workflow payload artifact
2s
Annotations
5 errors
Call reusable workflow / Run unit tests
Process completed with exit code 1.
|
useScrollLock > GlobalScrollController > default behavior (width scroll: true):
packages/vkui/src/components/AppRoot/ScrollContext.test.tsx#L1
Error: expect(jest.fn()).toHaveBeenCalled()
Expected number of calls: >= 1
Received number of calls: 0
at toHaveBeenCalled (/home/runner/work/VKUI/VKUI/packages/vkui/src/components/AppRoot/ScrollContext.test.tsx:49:34)
at Object.<anonymous> (/home/runner/work/VKUI/VKUI/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at _runTest (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/VKUI/VKUI/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/VKUI/VKUI/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/VKUI/VKUI/node_modules/jest-runner/build/testWorker.js:106:12)
|
useScrollLock > GlobalScrollController > default behavior (width scroll: false):
packages/vkui/src/components/AppRoot/ScrollContext.test.tsx#L1
Error: expect(jest.fn()).toHaveBeenCalled()
Expected number of calls: >= 1
Received number of calls: 0
at toHaveBeenCalled (/home/runner/work/VKUI/VKUI/packages/vkui/src/components/AppRoot/ScrollContext.test.tsx:49:34)
at Object.<anonymous> (/home/runner/work/VKUI/VKUI/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at _runTest (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/VKUI/VKUI/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/VKUI/VKUI/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/VKUI/VKUI/node_modules/jest-runner/build/testWorker.js:106:12)
|
useScrollLock > ElementScrollController > default behavior (width scroll: true):
packages/vkui/src/components/AppRoot/ScrollContext.test.tsx#L1
Error: expect(jest.fn()).toHaveBeenCalled()
Expected number of calls: >= 1
Received number of calls: 0
at toHaveBeenCalled (/home/runner/work/VKUI/VKUI/packages/vkui/src/components/AppRoot/ScrollContext.test.tsx:120:34)
at Object.<anonymous> (/home/runner/work/VKUI/VKUI/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at _runTest (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/VKUI/VKUI/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/VKUI/VKUI/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/VKUI/VKUI/node_modules/jest-runner/build/testWorker.js:106:12)
|
useScrollLock > ElementScrollController > default behavior (width scroll: false):
packages/vkui/src/components/AppRoot/ScrollContext.test.tsx#L1
Error: expect(jest.fn()).toHaveBeenCalled()
Expected number of calls: >= 1
Received number of calls: 0
at toHaveBeenCalled (/home/runner/work/VKUI/VKUI/packages/vkui/src/components/AppRoot/ScrollContext.test.tsx:120:34)
at Object.<anonymous> (/home/runner/work/VKUI/VKUI/node_modules/jest-each/build/bind.js:81:13)
at Promise.then.completed (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
at _runTest (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:121:9)
at _runTestsForDescribeBlock (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/VKUI/VKUI/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/VKUI/VKUI/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/VKUI/VKUI/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/VKUI/VKUI/node_modules/jest-runner/build/testWorker.js:106:12)
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
all-blob-reports-1-10
Expired
|
149 KB |
|
all-blob-reports-10-10
Expired
|
139 KB |
|
all-blob-reports-2-10
Expired
|
142 KB |
|
all-blob-reports-3-10
Expired
|
140 KB |
|
all-blob-reports-4-10
Expired
|
141 KB |
|
all-blob-reports-5-10
Expired
|
145 KB |
|
all-blob-reports-6-10
Expired
|
137 KB |
|
all-blob-reports-7-10
Expired
|
140 KB |
|
all-blob-reports-8-10
Expired
|
135 KB |
|
all-blob-reports-9-10
Expired
|
136 KB |
|
docs-beta-dist
|
679 KB |
|
playwright-report
|
595 KB |
|
pr_workflow_payload
|
147 Bytes |
|
storybook-dist
|
6.16 MB |
|
styleguide-dist
|
2.35 MB |
|
test-output
|
524 KB |
|