Update "documentation" lib and make ES6 changes #847
node.js.yml
on: pull_request
Matrix: Build-All-Plugins
Matrix: Run-all-Jest-Tests
Annotations
15 errors
Run-all-Jest-Tests (22.x):
helpers/__tests__/NPParagraph.test.js#L27
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-01T08:27:12.131Z,
- "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-01T08:27:12.131Z,
"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#L27
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-01T08:27:12.150Z,
- "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-01T08:27:12.150Z,
"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#L1
Error: expect(received).toEqual(expected) // deep equality
- Expected - 2
+ Received + 2
Array [
- 2022-01-03T00:00:00.000Z,
- 2022-01-09T23:59:59.000Z,
+ 2021-01-04T00:00:00.000Z,
+ 2021-01-10T23:59:59.000Z,
]
at Object.toEqual (/Users/runner/work/plugins/plugins/helpers/__tests__/dateTime.test.js:831:48)
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 [
- 2022-01-10T00:00:00.000Z,
- 2022-01-16T23:59:59.000Z,
+ 2021-01-11T00:00:00.000Z,
+ 2021-01-17T23:59:59.000Z,
]
at Object.toEqual (/Users/runner/work/plugins/plugins/helpers/__tests__/dateTime.test.js:834:48)
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):
helpers/__tests__/dateTime.test.js#L854
Error: expect(received).toEqual(expected) // deep equality
Expected: "20220103"
Received: "20210104"
at Object.toEqual (/Users/runner/work/plugins/plugins/helpers/__tests__/dateTime.test.js:854: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#L858
Error: expect(received).toEqual(expected) // deep equality
Expected: "20220808"
Received: "20210809"
at Object.toEqual (/Users/runner/work/plugins/plugins/helpers/__tests__/dateTime.test.js:858: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#L862
Error: expect(received).toEqual(expected) // deep equality
Expected: "20221226"
Received: "20211227"
at Object.toEqual (/Users/runner/work/plugins/plugins/helpers/__tests__/dateTime.test.js:862: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):
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)
|
Build-All-Plugins (20.x)
Process completed with exit code 1.
|
Run-all-Jest-Tests (20.x)
The job was canceled because "_22_x" failed.
|
Run-all-Jest-Tests (20.x)
The operation was canceled.
|
Build-All-Plugins (22.x)
The job was canceled because "_20_x" failed.
|
Build-All-Plugins (22.x)
The operation was canceled.
|