Update npm dependencies (especially @wordpress
)
#9960
js.yml
on: pull_request
JS Linting
1m 18s
TypeScript Checking
1m 6s
JS Testing
1m 27s
Annotations
11 errors
TypeScript Checking
Process completed with exit code 2.
|
JS Linting
Process completed with exit code 2.
|
JS Testing:
assets/data-port/export/store/index.test.js#L76
Error: expect(received).toEqual(expected) // deep equality
- Expected - 0
+ Received + 5
Object {
"error": "Request error",
+ "job": Object {
+ "files": undefined,
+ "id": 5,
+ "status": "completed",
+ },
}
at Object.toEqual (/home/runner/work/***/***/assets/data-port/export/store/index.test.js:76:30)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:316:40)
at _runTest (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/***/***/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/***/***/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/***/***/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/***/***/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/***/***/node_modules/jest-runner/build/testWorker.js:106:12)
|
JS Testing:
assets/data-port/export/store/index.test.js#L157
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
- Expected
+ Received
Object {
"method": "DELETE",
- "path": "/***-internal/v1/export/4",
+ "path": "/***-internal/v1/export/5",
},
Number of calls: 1
at Object.toHaveBeenCalledWith (/home/runner/work/***/***/assets/data-port/export/store/index.test.js:157:22)
|
JS Testing:
assets/data-port/export/store/index.test.js#L192
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
Expected: {"method": "POST", "path": "/***-internal/v1/export/7/process"}
Number of calls: 0
Ignored nodes: comments, script, style
<html>
<head />
<body />
</html>
at toHaveBeenCalledWith (/home/runner/work/***/***/assets/data-port/export/store/index.test.js:192:23)
at runWithExpensiveErrorDiagnosticsDisabled (/home/runner/work/***/***/node_modules/@testing-library/dom/dist/config.js:47:12)
at checkCallback (/home/runner/work/***/***/node_modules/@testing-library/dom/dist/wait-for.js:124:77)
at /home/runner/work/***/***/node_modules/@testing-library/dom/dist/wait-for.js:82:9
|
JS Testing:
assets/data-port/export/store/index.test.js#L231
Error: expect(received).toEqual(expected) // deep equality
Expected: "Error 1. Error 2."
Received: undefined
at Object.toEqual (/home/runner/work/***/***/assets/data-port/export/store/index.test.js:231:47)
|
JS Testing:
assets/shared/structure/structure-store.test.js#L70
Error: expect(jest.fn()).toHaveBeenCalled()
Expected number of calls: >= 1
Received number of calls: 0
at Object.toHaveBeenCalled (/home/runner/work/***/***/assets/shared/structure/structure-store.test.js:70:29)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/***/***/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/***/***/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/***/***/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/***/***/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/***/***/node_modules/jest-runner/build/testWorker.js:106:12)
|
JS Testing:
assets/shared/structure/structure-store.test.js#L78
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected)
Expected: {"data": "new", "method": "POST", "path": "/***-internal/v1/test-api/1"}
Number of calls: 0
at Object.toHaveBeenCalledWith (/home/runner/work/***/***/assets/shared/structure/structure-store.test.js:78:22)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/***/***/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/***/***/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/***/***/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/***/***/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/***/***/node_modules/jest-runner/build/testWorker.js:106:12)
|
JS Testing:
assets/shared/structure/structure-store.test.js#L100
Error: expect(jest.fn()).toHaveBeenCalledTimes(expected)
Expected number of calls: 1
Received number of calls: 0
at Object.toHaveBeenCalledTimes (/home/runner/work/***/***/assets/shared/structure/structure-store.test.js:100:22)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/***/***/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/***/***/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/***/***/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/***/***/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/***/***/node_modules/jest-runner/build/testWorker.js:106:12)
|
JS Testing:
assets/home/tasks-section/task-item.test.js#L93
TypeError: _components.Tooltip.mockImplementation is not a function
at Object.mockImplementation (/home/runner/work/***/***/assets/home/tasks-section/task-item.test.js:93:11)
at Promise.then.completed (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:298:28)
at new Promise (<anonymous>)
at callAsyncCircusFn (/home/runner/work/***/***/node_modules/jest-circus/build/utils.js:231:10)
at _callCircusTest (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:316:40)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at _runTest (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:252:3)
at _runTestsForDescribeBlock (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:126:9)
at _runTestsForDescribeBlock (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:121:9)
at run (/home/runner/work/***/***/node_modules/jest-circus/build/run.js:71:3)
at runAndTransformResultsToJestFormat (/home/runner/work/***/***/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21)
at jestAdapter (/home/runner/work/***/***/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19)
at runTestInternal (/home/runner/work/***/***/node_modules/jest-runner/build/runTest.js:367:16)
at runTest (/home/runner/work/***/***/node_modules/jest-runner/build/runTest.js:444:34)
at Object.worker (/home/runner/work/***/***/node_modules/jest-runner/build/testWorker.js:106:12)
|
JS Testing
Process completed with exit code 1.
|