SheetMobile: test2 #16869
Annotations
10 errors and 1 warning
Run tests:
packages/gestalt/src/SideNavigation.jsdom.test.tsx#L55
Error: Expected test not to call console.log().
If the log is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'log').mockImplementation() and test that the warning occurs.
false
at console.captureMessage [as log] (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:55:25)
at log (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile/PartialPage.tsx:113:11)
at renderWithHooks (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:16175:18)
at mountIndeterminateComponent (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:20913:13)
at beginWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:22416:16)
at beginWork$1 (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:27381:14)
at performUnitOfWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26516:12)
at workLoopSync (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26422:5)
at renderRootSync (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26390:7)
at performSyncWorkOnRoot (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26041:20)
at flushSyncCallbacks (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:12009:22)
at flushActQueue (/home/runner/work/gestalt/gestalt/node_modules/react/cjs/react.development.js:2665:24)
at act (/home/runner/work/gestalt/gestalt/node_modules/react/cjs/react.development.js:2580:11)
at /home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/act-compat.js:63:25
at Object.eventWrapper (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/pure.js:78:28)
at fireEvent (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/dom/dist/events.js:16:35)
at Function.fireEvent.<computed> [as click] (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/dom/dist/events.js:125:36)
at Function.fireEvent.<computed> [as click] (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/fire-event.js:18:52)
at Object.click (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SideNavigation.jsdom.test.tsx:457:15)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:545:9)
at processTimers (node:internal/timers:519:7)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
false
at console.captureMessage [as log] (/home/runner/work/gestalt/gestalt/node_modules/jest-f
|
Run tests:
packages/gestalt/src/SideNavigation.jsdom.test.tsx#L55
Error: Expected test not to call console.log().
If the log is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'log').mockImplementation() and test that the warning occurs.
false
at console.captureMessage [as log] (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:55:25)
at log (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile/PartialPage.tsx:113:11)
at renderWithHooks (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:16175:18)
at mountIndeterminateComponent (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:20913:13)
at beginWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:22416:16)
at beginWork$1 (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:27381:14)
at performUnitOfWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26516:12)
at workLoopSync (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26422:5)
at renderRootSync (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26390:7)
at performSyncWorkOnRoot (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26041:20)
at flushSyncCallbacks (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:12009:22)
at flushActQueue (/home/runner/work/gestalt/gestalt/node_modules/react/cjs/react.development.js:2665:24)
at act (/home/runner/work/gestalt/gestalt/node_modules/react/cjs/react.development.js:2580:11)
at /home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/act-compat.js:63:25
at Object.eventWrapper (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/pure.js:78:28)
at Object.wrapEvent (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/user-event/dist/cjs/event/wrapEvent.js:8:28)
at Object.dispatchEvent (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/user-event/dist/cjs/event/dispatchEvent.js:35:22)
at Object.dispatchUIEvent (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/user-event/dist/cjs/event/index.js:17:26)
at KeyboardHost.keydown (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/user-event/dist/cjs/system/keyboard.js:77:19)
at keyboardAction (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/user-event/dist/cjs/keyboard/index.js:41:35)
at Object.keyboard (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/user-event/dist/cjs/keyboard/index.js:30:15)
at Object.asyncWrapper (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/pure.js:71:14)
at flushUnexpectedConsoleCalls (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:39:13)
at Object.<anonymous> (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:79:7)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusHook (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:239:40)
at runNextTicks (node:internal/process/task_queues:60:5)
at listOnTimeout (node:internal/timers:545:9)
at processTimers (node:internal/timers:519:7)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:211:5)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/r
|
Run tests:
packages/gestalt/src/SheetMobile.jsdom.test.tsx#L55
Error: Expected test not to call console.log().
If the log is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'log').mockImplementation() and test that the warning occurs.
false
at console.captureMessage [as log] (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:55:25)
at log (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile/PartialPage.tsx:113:11)
at renderWithHooks (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6256:18)
at mountIndeterminateComponent (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10702:13)
at beginWork (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12151:16)
at performUnitOfWork (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15801:12)
at workLoopSync (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15735:5)
at renderRootSync (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15707:7)
at performSyncWorkOnRoot (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15412:20)
at flushSyncCallbacks (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2594:22)
at flushSyncCallbacksOnlyInLegacyMode (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2573:5)
at scheduleUpdateOnFiber (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14841:7)
at updateContainer (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:17751:14)
at create (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:18465:3)
at Object.<anonymous> (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile.jsdom.test.tsx:21:18)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
at flushUnexpectedConsoleCalls (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:39:13)
at Object.<anonymous> (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:79:7)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsync
|
Run tests:
packages/gestalt/src/SheetMobile.jsdom.test.tsx#L55
Error: Expected test not to call console.log().
If the log is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'log').mockImplementation() and test that the warning occurs.
false
at console.captureMessage [as log] (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:55:25)
at log (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile/PartialPage.tsx:113:11)
at renderWithHooks (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:6256:18)
at mountIndeterminateComponent (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:10702:13)
at beginWork (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:12151:16)
at performUnitOfWork (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15801:12)
at workLoopSync (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15735:5)
at renderRootSync (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15707:7)
at performSyncWorkOnRoot (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:15412:20)
at flushSyncCallbacks (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2594:22)
at flushSyncCallbacksOnlyInLegacyMode (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:2573:5)
at scheduleUpdateOnFiber (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:14841:7)
at updateContainer (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:17751:14)
at create (/home/runner/work/gestalt/gestalt/node_modules/react-test-renderer/cjs/react-test-renderer.development.js:18465:3)
at Object.<anonymous> (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile.jsdom.test.tsx:30:18)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
at flushUnexpectedConsoleCalls (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:39:13)
at Object.<anonymous> (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:79:7)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsync
|
Run tests:
packages/gestalt/src/SheetMobile.jsdom.test.tsx#L55
Error: Expected test not to call console.log().
If the log is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'log').mockImplementation() and test that the warning occurs.
false
at console.captureMessage [as log] (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:55:25)
at log (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile/PartialPage.tsx:113:11)
at renderWithHooks (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:16175:18)
at mountIndeterminateComponent (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:20913:13)
at beginWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:22416:16)
at beginWork$1 (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:27381:14)
at performUnitOfWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26516:12)
at workLoopSync (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26422:5)
at renderRootSync (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26390:7)
at performConcurrentWorkOnRoot (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:25694:74)
at flushActQueue (/home/runner/work/gestalt/gestalt/node_modules/react/cjs/react.development.js:2665:24)
at act (/home/runner/work/gestalt/gestalt/node_modules/react/cjs/react.development.js:2519:11)
at /home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/act-compat.js:63:25
at renderRoot (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/pure.js:159:26)
at render (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/pure.js:246:10)
at Object.<anonymous> (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile.jsdom.test.tsx:48:5)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
<ref *1> HTMLDivElement {
'__reactFiber$lk2dcfkgjrs': <ref *2> FiberNode {
tag: 5,
key: null,
elementType: 'div',
type: 'div',
stateNode: [Circular *1],
return: FiberNode {
tag: 11,
key: null,
elementType: [Object],
type: [Object],
stateNode: null,
return: [FiberNode],
child: [Circular *2],
sibling: null,
index: 0,
ref: [Object],
pendingProps: [Object],
memoizedProps: [Object],
updateQueue: [Object],
memoizedState: [Object],
dependencies: [Object],
mode: 1,
flags:
|
Run tests:
packages/gestalt/src/SheetMobile.jsdom.test.tsx#L55
Error: Expected test not to call console.log().
If the log is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'log').mockImplementation() and test that the warning occurs.
false
at console.captureMessage [as log] (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:55:25)
at log (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile/PartialPage.tsx:113:11)
at renderWithHooks (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:16175:18)
at mountIndeterminateComponent (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:20913:13)
at beginWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:22416:16)
at beginWork$1 (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:27381:14)
at performUnitOfWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26516:12)
at workLoopSync (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26422:5)
at renderRootSync (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26390:7)
at performConcurrentWorkOnRoot (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:25694:74)
at flushActQueue (/home/runner/work/gestalt/gestalt/node_modules/react/cjs/react.development.js:2665:24)
at act (/home/runner/work/gestalt/gestalt/node_modules/react/cjs/react.development.js:2580:11)
at /home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/act-compat.js:63:25
at renderRoot (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/pure.js:159:26)
at render (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/pure.js:246:10)
at Object.<anonymous> (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile.jsdom.test.tsx:72:5)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
<ref *1> HTMLDivElement {
'__reactFiber$lk2dcfkgjrs': <ref *2> FiberNode {
tag: 5,
key: null,
elementType: 'div',
type: 'div',
stateNode: [Circular *1],
return: FiberNode {
tag: 11,
key: null,
elementType: [Object],
type: [Object],
stateNode: null,
return: [FiberNode],
child: [Circular *2],
sibling: null,
index: 0,
ref: [Object],
pendingProps: [Object],
memoizedProps: [Object],
updateQueue: [Object],
memoizedState: [Object],
dependencies: [Object],
mode: 1,
flags:
|
Run tests:
packages/gestalt/src/SheetMobile.jsdom.test.tsx#L55
Error: Expected test not to call console.log().
If the log is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'log').mockImplementation() and test that the warning occurs.
false
at console.captureMessage [as log] (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:55:25)
at log (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile/PartialPage.tsx:113:11)
at renderWithHooks (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:16175:18)
at mountIndeterminateComponent (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:20913:13)
at beginWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:22416:16)
at beginWork$1 (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:27381:14)
at performUnitOfWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26516:12)
at workLoopSync (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26422:5)
at renderRootSync (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26390:7)
at performConcurrentWorkOnRoot (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:25694:74)
at flushActQueue (/home/runner/work/gestalt/gestalt/node_modules/react/cjs/react.development.js:2665:24)
at act (/home/runner/work/gestalt/gestalt/node_modules/react/cjs/react.development.js:2580:11)
at /home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/act-compat.js:63:25
at renderRoot (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/pure.js:159:26)
at render (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/pure.js:246:10)
at Object.<anonymous> (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile.jsdom.test.tsx:107:5)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
<ref *1> HTMLDivElement {
'__reactFiber$lk2dcfkgjrs': <ref *2> FiberNode {
tag: 5,
key: null,
elementType: 'div',
type: 'div',
stateNode: [Circular *1],
return: FiberNode {
tag: 11,
key: null,
elementType: [Object],
type: [Object],
stateNode: null,
return: [FiberNode],
child: [Circular *2],
sibling: null,
index: 0,
ref: [Object],
pendingProps: [Object],
memoizedProps: [Object],
updateQueue: [Object],
memoizedState: [Object],
dependencies: [Object],
mode: 1,
flags:
|
Run tests:
packages/gestalt/src/SheetMobile.jsdom.test.tsx#L55
Error: Expected test not to call console.log().
If the log is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'log').mockImplementation() and test that the warning occurs.
<ref *1> HTMLButtonElement {
'__reactFiber$lk2dcfkgjrs': <ref *2> FiberNode {
tag: 5,
key: null,
elementType: 'button',
type: 'button',
stateNode: [Circular *1],
return: FiberNode {
tag: 11,
key: null,
elementType: [Object],
type: [Object],
stateNode: null,
return: [FiberNode],
child: [Circular *2],
sibling: null,
index: 0,
ref: [Object],
pendingProps: [Object],
memoizedProps: [Object],
updateQueue: [Object],
memoizedState: [Object],
dependencies: null,
mode: 1,
flags: 12584965,
subtreeFlags: 2097665,
deletions: null,
lanes: 1,
childLanes: 0,
alternate: null,
actualDuration: 0,
actualStartTime: -1,
selfBaseDuration: 0,
treeBaseDuration: 0,
_debugSource: undefined,
_debugOwner: [FiberNode],
_debugNeedsRemount: false,
_debugHookTypes: [Array]
},
child: FiberNode {
tag: 5,
key: null,
elementType: 'div',
type: 'div',
stateNode: [HTMLDivElement],
return: [Circular *2],
child: [FiberNode],
sibling: null,
index: 0,
ref: null,
pendingProps: [Object],
memoizedProps: [Object],
updateQueue: null,
memoizedState: null,
dependencies: null,
mode: 1,
flags: 0,
subtreeFlags: 1,
deletions: null,
lanes: 0,
childLanes: 0,
alternate: null,
actualDuration: 0,
actualStartTime: -1,
selfBaseDuration: 0,
treeBaseDuration: 0,
_debugSource: undefined,
_debugOwner: [FiberNode],
_debugNeedsRemount: false,
_debugHookTypes: null
},
sibling: null,
index: 0,
ref: { current: [Circular *1] },
pendingProps: {
'aria-controls': ':r3:',
'aria-label': 'Dismiss bottom sheet',
className: 'parentButton',
onBlur: [Function: onBlur],
onClick: [Function: handleClick],
onFocus: [Function: handleOnFocus],
onMouseDown: [Function: onMouseDown],
onMouseEnter: [Function: handleOnMouseEnter],
onMouseLeave: [Function: handleOnMouseLeave],
onMouseUp: [Function: onMouseUp],
onTouchCancel: [Function: handleTouchCancel],
onTouchEnd: [Function: handleTouchEnd],
onTouchMove: [Function: handleTouchMove],
onTouchStart: [Function: handleTouchStart],
type: 'button',
children: [Object]
},
memoizedProps: {
'aria-controls': ':r3:',
'aria-label': 'Dismiss bottom sheet',
className: 'parentButton',
onBlur: [Function: onBlur],
onClick: [Function: handleClick],
onFocus: [Function: handleOnFocus],
onMouseDown: [Function: onMouseDown],
onMouseEnter: [Function: handleOnMouseEnter],
onMouseLeave: [Function: handleOnMouseLeave],
onMouseUp: [Function: onMouseUp],
onTouchCancel: [Function: handleTouchCancel],
onTouchEnd: [Function: handleTouchEnd],
onTouchMove: [Function: handleTouchMove],
onTouchStart: [Function: handleTouchStart],
type: 'button',
children: [Object]
},
updateQueue: null,
memoizedState: null,
dependencies: null,
mode: 1,
flags: 2097664,
subtreeFlags: 1,
deletions: null,
lanes: 0,
childLanes: 0,
alternate: null,
actualDuration: 0,
actualStartTime: -1,
selfBaseDuration: 0,
treeBaseDuration: 0,
_debugSource: undefined,
_debugOwner: FiberNode {
tag: 11,
key: null,
elementType: [Object],
type: [Object],
stateNode: null,
return: [FiberNode],
child: [Circular *2],
sibling: null,
index: 0,
ref: [Object],
pendingProps: [Object],
memoizedProps: [Object],
updateQueue: [Object],
memoizedState: [Object],
dependencies: null,
mode: 1,
|
Run tests:
packages/gestalt/src/contexts/GlobalEventsHandlerProvider.jsdom.test.tsx#L55
Error: Expected test not to call console.log().
If the log is expected, test for it explicitly by mocking it out using jest.spyOn(console, 'log').mockImplementation() and test that the warning occurs.
false
at console.captureMessage [as log] (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:55:25)
at log (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile/PartialPage.tsx:113:11)
at renderWithHooks (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:16175:18)
at mountIndeterminateComponent (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:20913:13)
at beginWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:22416:16)
at beginWork$1 (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:27381:14)
at performUnitOfWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26516:12)
at workLoopSync (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26422:5)
at renderRootSync (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:26390:7)
at performConcurrentWorkOnRoot (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:25694:74)
at flushActQueue (/home/runner/work/gestalt/gestalt/node_modules/react/cjs/react.development.js:2665:24)
at act (/home/runner/work/gestalt/gestalt/node_modules/react/cjs/react.development.js:2580:11)
at /home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/act-compat.js:63:25
at renderRoot (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/pure.js:159:26)
at render (/home/runner/work/gestalt/gestalt/node_modules/@testing-library/react/dist/pure.js:246:10)
at Object.<anonymous> (/home/runner/work/gestalt/gestalt/packages/gestalt/src/contexts/GlobalEventsHandlerProvider.jsdom.test.tsx:42:5)
at Promise.then.completed (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:323:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/utils.js:249:10)
at _callCircusTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:276:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:208:3)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:96:9)
at _runTestsForDescribeBlock (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:90:9)
at run (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/run.js:31:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:135:21)
at jestAdapter (/home/runner/work/gestalt/gestalt/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:92:19)
at runTestInternal (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:411:16)
at runTest (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/runTest.js:499:34)
at Object.worker (/home/runner/work/gestalt/gestalt/node_modules/jest-runner/build/testWorker.js:133:12)
false
at console.captureMessage [as log] (/home/runner/work/gestalt/gestalt/node_modules/jest-fail-on-console/index.js:55:25)
at log (/home/runner/work/gestalt/gestalt/packages/gestalt/src/SheetMobile/PartialPage.tsx:113:11)
at renderWithHooks (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:16175:18)
at updateFunctionComponent (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.development.js:20387:20)
at beginWork (/home/runner/work/gestalt/gestalt/node_modules/react-dom/cjs/react-dom.de
|
Run tests
Process completed with exit code 1.
|
Run echo "::set-output name=dir::$(yarn cache dir)"
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Loading