Refactor to add validateEditorState() by Cursor. #1199
node.js.yml
on: push
Matrix: Build-All-Plugins
Matrix: Run-all-Jest-Tests
Annotations
11 errors
|
Run-all-Jest-Tests (24.x)
Process completed with exit code 1.
|
|
Run-all-Jest-Tests (24.x):
jgclark.EventHelpers/__tests__/eventsToNotes.test.js#L668
TypeError: a.start.getTime is not a function
at getTime (/Users/runner/work/plugins/plugins/jgclark.EventHelpers/src/eventsToNotes.js:668:20)
at Array.sort (<anonymous>)
at Object.sort (/Users/runner/work/plugins/plugins/jgclark.EventHelpers/__tests__/eventsToNotes.test.js:37:36)
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 (24.x):
np.Tidy/__tests__/emptyBlocks.test.js#L513
Error: expect(received).toBe(expected) // Object.is equality
Expected: 3
Received: 4
at Object.toBe (/Users/runner/work/plugins/plugins/np.Tidy/__tests__/emptyBlocks.test.js:513:40)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
Run-all-Jest-Tests (24.x):
np.Tidy/__tests__/emptyBlocks.test.js#L426
Error: expect(received).not.toMatch(expected)
Expected pattern: not /Empty Main Section/
Received string: "Empty Main Section
Empty Subsection
Another Section"
at Object.toMatch (/Users/runner/work/plugins/plugins/np.Tidy/__tests__/emptyBlocks.test.js:426:28)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
Run-all-Jest-Tests (24.x):
np.Tidy/__tests__/emptyBlocks.test.js#L368
Error: expect(received).not.toMatch(expected)
Expected pattern: not /Another Section/
Received string: "Main Section
Subsection
Some content under subsection
Another Section"
at Object.toMatch (/Users/runner/work/plugins/plugins/np.Tidy/__tests__/emptyBlocks.test.js:368:28)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
Run-all-Jest-Tests (24.x):
np.Tidy/__tests__/emptyBlocks.test.js#L307
Error: expect(received).toMatch(expected)
Expected pattern: /^\nContent\n$/
Received string: "·
Content·
"
at Object.toMatch (/Users/runner/work/plugins/plugins/np.Tidy/__tests__/emptyBlocks.test.js:307:24)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
Run-all-Jest-Tests (24.x):
np.Tidy/__tests__/emptyBlocks.test.js#L248
Error: expect(received).toMatch(expected)
Expected pattern: /Line 1\n\nLine 5/
Received string: "Line 1···
Line 5"
at Object.toMatch (/Users/runner/work/plugins/plugins/np.Tidy/__tests__/emptyBlocks.test.js:248:24)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
Run-all-Jest-Tests (24.x):
np.Tidy/__tests__/emptyBlocks.test.js#L168
Error: expect(received).not.toMatch(expected)
Expected pattern: not /\n\s*\n/
Received string: "Note Title
Normal text line
A list item
> Empty quote
Final text line"
at Object.toMatch (/Users/runner/work/plugins/plugins/np.Tidy/__tests__/emptyBlocks.test.js:168:28)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
Run-all-Jest-Tests (24.x):
np.Tidy/__tests__/emptyBlocks.test.js#L158
Error: expect(received).not.toMatch(expected)
Expected pattern: not /\n\s*\n\s*\n/
Received string: "Note Title
Normal text line
A list item
> Empty quote
Final text line"
at Object.toMatch (/Users/runner/work/plugins/plugins/np.Tidy/__tests__/emptyBlocks.test.js:158:28)
at processTicksAndRejections (node:internal/process/task_queues:105:5)
|
|
Run-all-Jest-Tests (25.x)
The strategy configuration was canceled because "Run-all-Jest-Tests._24_x" failed
|
|
Run-all-Jest-Tests (25.x)
The operation was canceled.
|