Cherry pick workflow: improve message after conflict #107883
Annotations
4 errors and 1 warning
packages/compose/src/utils/debounce/test/index.ts#L43
Error: expect(received).toBe(expected) // Object.is equality
Expected: 2
Received: 1
at toBe (/home/runner/work/gutenberg/gutenberg/packages/compose/src/utils/debounce/test/index.ts:43:25)
at Timeout.task [as _onTimeout] (/home/runner/work/gutenberg/gutenberg/node_modules/jsdom/lib/jsdom/browser/Window.js:553:19)
at listOnTimeout (node:internal/timers:573:17)
at processTimers (node:internal/timers:514:7)
|
packages/compose/src/utils/debounce/test/index.ts#L9
Error: thrown: "Exceeded timeout of 5000 ms for a test.
Add a timeout value to this test to increase the timeout, if this is a long-running test. See https://jestjs.io/docs/api#testname-fn-timeout."
at it (/home/runner/work/gutenberg/gutenberg/packages/compose/src/utils/debounce/test/index.ts:9:2)
at _dispatchDescribe (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/index.js:91:26)
at describe (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/index.js:55:5)
at Object.describe (/home/runner/work/gutenberg/gutenberg/packages/compose/src/utils/debounce/test/index.ts:8:1)
at Runtime._execModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1430:24)
at Runtime._loadModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:1013:12)
at Runtime.requireModule (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runtime/build/index.js:873:12)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:77:13)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
packages/compose/src/utils/debounce/test/index.ts#L32
Error: expect(jest.fn()).not.toHaveErrored(expected)
Expected mock function not to be called but it was called with:
[[Error: Uncaught [Error: expect(received).toBe(expected) // Object.is equality·
Expected: 2
Received: 1]]]
console.error() should not be used unless explicitly expected
See https://www.npmjs.com/package/@wordpress/jest-console for details.
at Object.assertExpectedCalls (/home/runner/work/gutenberg/gutenberg/packages/jest-console/src/index.js:32:40)
at Promise.then.completed (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:300:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/utils.js:233:10)
at _callCircusHook (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:280:40)
at _runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:253:5)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:125:9)
at _runTestsForDescribeBlock (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:120:9)
at run (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/run.js:70:3)
at runAndTransformResultsToJestFormat (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/gutenberg/gutenberg/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/gutenberg/gutenberg/node_modules/jest-runner/build/testWorker.js:106:12)
|
|
|
This job failed
Loading