html5sortable
html5sortable copied to clipboard
Update to jest@26 leads to 4 tests failing.
When updating the dependencies to jest@26
and ts-jest@26
4 tests in the __tests__/events/events.test.ts
test file fail.
@kaffarell if you have time to look into this, it would be great. It is weird, but probably has to due with some change from jest.
Sorry, I was not able to fix this. What I have found out:
- That the dataTransferObject now has a type (format) as first parameter
- That we maybe have to add a type to the created customEvent (CustomEvent & {dataTransfer?: any})
But sadly none of these things have solved the issue 😭
Hey @kaffarell thank you for looking into it! I guess we just have to keep trying to figure it out. Let's skip jest@26 for now and release without it.
@atodorov do you think we should start a branch with to upgrade ts-jest & jest to @26? It will need quite some fixes though.
A branch + a draft PR seem like a good first step, IDK what is breaking ATM and how much work that would be to adjust the tests.
Somehow it is mainly TS errors. Some tested parts return false
instead of true
now which is weird. Do you want to create a draft PR for this?