Fix mouse selection and clicking on links in tasks. #68
Annotations
6 errors and 1 warning
src/App.test.tsx > Test Board > Create new tasks:
src/App.test.tsx#L49
AssertionError: expected +0 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 0
❯ src/App.test.tsx:49:69
|
src/App.test.tsx > Test Board > Create a new task:
src/App.test.tsx#L65
AssertionError: expected +0 to be 2 // Object.is equality
- Expected
+ Received
- 2
+ 0
❯ src/App.test.tsx:65:69
|
src/App.test.tsx > Test Board > Move task:
src/App.test.tsx#L74
Error: Unable to fire a "mousedown" event - please provide a DOM element.
❯ createEvent node_modules/@testing-library/dom/dist/events.js:27:11
❯ Function.createEvent.<computed> [as mouseDown] node_modules/@testing-library/dom/dist/events.js:106:38
❯ Function.fireEvent.<computed> [as mouseDown] node_modules/@testing-library/dom/dist/events.js:110:68
❯ Function.fireEvent.<computed> [as mouseDown] node_modules/@testing-library/react/dist/fire-event.js:15:52
❯ src/App.test.tsx:74:25
❯ node_modules/@testing-library/react/dist/act-compat.js:48:24
❯ act node_modules/react/cjs/react.development.js:2512:16
❯ Proxy.<anonymous> node_modules/@testing-library/react/dist/act-compat.js:47:25
❯ src/App.test.tsx:74:5
|
src/App.test.tsx > Test Board > Edit task:
src/App.test.tsx#L138
Error: Unable to fire a "dblclick" event - please provide a DOM element.
❯ createEvent node_modules/@testing-library/dom/dist/events.js:27:11
❯ Function.createEvent.<computed> [as dblClick] node_modules/@testing-library/dom/dist/events.js:106:38
❯ Function.fireEvent.<computed> [as dblClick] node_modules/@testing-library/dom/dist/events.js:110:68
❯ Function.fireEvent.<computed> [as doubleClick] node_modules/@testing-library/dom/dist/events.js:137:52
❯ Function.fireEvent.<computed> [as doubleClick] node_modules/@testing-library/react/dist/fire-event.js:15:52
❯ src/App.test.tsx:138:25
❯ node_modules/@testing-library/react/dist/act-compat.js:48:24
❯ act node_modules/react/cjs/react.development.js:2512:16
❯ Proxy.<anonymous> node_modules/@testing-library/react/dist/act-compat.js:47:25
❯ src/App.test.tsx:138:5
|
src/App.test.tsx > Test Board > Remove task:
src/App.test.tsx#L148
TypeError: Cannot read properties of undefined (reading 'getElementsByClassName')
❯ src/App.test.tsx:148:38
❯ node_modules/@testing-library/react/dist/act-compat.js:48:24
❯ act node_modules/react/cjs/react.development.js:2512:16
❯ Proxy.<anonymous> node_modules/@testing-library/react/dist/act-compat.js:47:25
❯ src/App.test.tsx:148:5
|
test
Process completed with exit code 1.
|
test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|