Skip to content

Merge pull request #612 from mehulkar/patch-1 #854

Merge pull request #612 from mehulkar/patch-1

Merge pull request #612 from mehulkar/patch-1 #854

Triggered via push January 3, 2025 19:37
Status Failure
Total duration 1m 16s
Artifacts

node.js.yml

on: push
Matrix: Build-All-Plugins
Matrix: Run-all-Jest-Tests
Fit to window
Zoom out
Zoom in

Annotations

13 errors
Build-All-Plugins (22.x)
Process completed with exit code 1.
Build-All-Plugins (20.x)
The job was canceled because "_22_x" failed.
Build-All-Plugins (20.x)
Process completed with exit code 1.
Run-all-Jest-Tests (22.x): helpers/__tests__/NPParagraph.test.js#L38
Error: expect(received).toEqual(expected) // deep equality - Expected - 25 + Received + 0 @@ -1,33 +1,8 @@ Array [ Paragraph { "blockId": null, - "content": "line 1 (not title)", - "contentRange": Object {}, - "date": 2025-01-03T19:38:56.683Z, - "filename": "testFile.md", - "heading": "", - "headingLevel": 0, - "headingRange": Object { - "end": 0, - "length": 0, - "start": 0, - }, - "indents": 0, - "isRecurring": false, - "lineIndex": 0, - "linkedNoteTitles": Array [], - "note": Object {}, - "noteType": "Notes", - "prefix": "", - "rawContent": "SET_ME_IN_TEST", - "referencedBlocks": Array [], - "subItems": Array [], - "type": "text", - }, - Paragraph { - "blockId": null, "content": "Task on line 2", "contentRange": Object {}, "date": 2025-01-03T19:38:56.683Z, "filename": "testFile.md", "heading": "", at Object.toEqual (/Users/runner/work/plugins/plugins/helpers/__tests__/NPParagraph.test.js:296:22) at Promise.then.completed (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at run (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/testWorker.js:106:12)
Run-all-Jest-Tests (22.x): helpers/__tests__/NPParagraph.test.js#L38
Error: expect(received).toEqual(expected) // deep equality - Expected - 25 + Received + 0 @@ -1,33 +1,8 @@ Array [ Paragraph { "blockId": null, - "content": "line 1 (not title)", - "contentRange": Object {}, - "date": 2025-01-03T19:38:56.712Z, - "filename": "testFile.md", - "heading": "", - "headingLevel": 0, - "headingRange": Object { - "end": 0, - "length": 0, - "start": 0, - }, - "indents": 0, - "isRecurring": false, - "lineIndex": 0, - "linkedNoteTitles": Array [], - "note": Object {}, - "noteType": "Notes", - "prefix": "", - "rawContent": "SET_ME_IN_TEST", - "referencedBlocks": Array [], - "subItems": Array [], - "type": "text", - }, - Paragraph { - "blockId": null, "content": "Task on line 2", "contentRange": Object {}, "date": 2025-01-03T19:38:56.712Z, "filename": "testFile.md", "heading": "", at Object.toEqual (/Users/runner/work/plugins/plugins/helpers/__tests__/NPParagraph.test.js:303:22) at Promise.then.completed (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at run (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/testWorker.js:106:12)
Run-all-Jest-Tests (22.x): helpers/__tests__/dateTime.test.js#L1
Error: expect(received).toEqual(expected) // deep equality - Expected - 2 + Received + 2 Array [ - 2021-12-27T00:00:00.000Z, - 2022-01-02T23:59:59.000Z, + 2020-12-21T00:00:00.000Z, + 2020-12-27T23:59:59.000Z, ] at Object.toEqual (/Users/runner/work/plugins/plugins/helpers/__tests__/dateTime.test.js:828:49) at Promise.then.completed (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at run (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/testWorker.js:106:12)
Run-all-Jest-Tests (22.x): helpers/__tests__/dateTime.test.js#L850
Error: expect(received).toEqual(expected) // deep equality Expected: "20211227" Received: "20201221" at Object.toEqual (/Users/runner/work/plugins/plugins/helpers/__tests__/dateTime.test.js:850:22) at Promise.then.completed (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at run (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/testWorker.js:106:12)
Run-all-Jest-Tests (22.x): np.Tidy/__tests__/topLevelTasks.test.js#L731
Error: Property `getParagraphParentsOnly` does not exist in the provided object at ModuleMocker.spyOn (/Users/runner/work/plugins/plugins/node_modules/jest-mock/build/index.js:731:13) at Object.spyOn (/Users/runner/work/plugins/plugins/np.Tidy/__tests__/topLevelTasks.test.js:215:14) at Promise.then.completed (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:231:10) at _callCircusHook (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:281:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:246:5) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at run (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/testWorker.js:106:12)
Run-all-Jest-Tests (22.x): np.Tidy/__tests__/topLevelTasks.test.js#L731
Error: Property `getParagraphParentsOnly` does not exist in the provided object at ModuleMocker.spyOn (/Users/runner/work/plugins/plugins/node_modules/jest-mock/build/index.js:731:13) at Object.spyOn (/Users/runner/work/plugins/plugins/np.Tidy/__tests__/topLevelTasks.test.js:215:14) at Promise.then.completed (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:231:10) at _callCircusHook (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:281:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:246:5) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at run (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/testWorker.js:106:12)
Run-all-Jest-Tests (22.x): np.Tidy/__tests__/topLevelTasks.test.js#L731
Error: Property `getParagraphParentsOnly` does not exist in the provided object at ModuleMocker.spyOn (/Users/runner/work/plugins/plugins/node_modules/jest-mock/build/index.js:731:13) at Object.spyOn (/Users/runner/work/plugins/plugins/np.Tidy/__tests__/topLevelTasks.test.js:215:14) at Promise.then.completed (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:231:10) at _callCircusHook (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:281:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:246:5) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at run (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/testWorker.js:106:12)
Run-all-Jest-Tests (22.x): np.Tidy/__tests__/topLevelTasks.test.js#L731
Error: Property `getParagraphParentsOnly` does not exist in the provided object at ModuleMocker.spyOn (/Users/runner/work/plugins/plugins/node_modules/jest-mock/build/index.js:731:13) at Object.spyOn (/Users/runner/work/plugins/plugins/np.Tidy/__tests__/topLevelTasks.test.js:215:14) at Promise.then.completed (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:231:10) at _callCircusHook (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:281:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:246:5) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at run (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/testWorker.js:106:12)
Run-all-Jest-Tests (22.x): np.Tidy/__tests__/topLevelTasks.test.js#L731
Error: Property `getParagraphParentsOnly` does not exist in the provided object at ModuleMocker.spyOn (/Users/runner/work/plugins/plugins/node_modules/jest-mock/build/index.js:731:13) at Object.spyOn (/Users/runner/work/plugins/plugins/np.Tidy/__tests__/topLevelTasks.test.js:215:14) at Promise.then.completed (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:231:10) at _callCircusHook (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:281:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:246:5) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at run (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/testWorker.js:106:12)
Run-all-Jest-Tests (22.x): dwertheimer.EventAutomations/__tests__/timeblocking-shared.test.js#L116
Error: expect(jest.fn()).toHaveBeenCalledWith(...expected) Expected: "line1 line2", 0, "text" Received: "line1 line2", NaN, "text" Number of calls: 1 at Object.toHaveBeenCalledWith (/Users/runner/work/plugins/plugins/dwertheimer.EventAutomations/__tests__/timeblocking-shared.test.js:116:21) at Promise.then.completed (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:298:28) at new Promise (<anonymous>) at callAsyncCircusFn (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/utils.js:231:10) at _callCircusTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:316:40) at processTicksAndRejections (node:internal/process/task_queues:105:5) at _runTest (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:252:3) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:126:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at _runTestsForDescribeBlock (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:121:9) at run (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/run.js:71:3) at runAndTransformResultsToJestFormat (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapterInit.js:122:21) at jestAdapter (/Users/runner/work/plugins/plugins/node_modules/jest-circus/build/legacy-code-todo-rewrite/jestAdapter.js:79:19) at runTestInternal (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:367:16) at runTest (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/runTest.js:444:34) at Object.worker (/Users/runner/work/plugins/plugins/node_modules/jest-runner/build/testWorker.js:106:12)