Closed markus2330 closed 10 months ago
Working on this. Was sick the last few days but I hope I can fix this today or tomorrow.
It is really strange because locally all the tests are running through.
@markus2330 Tests are now passing in #1141 It has to do with fake timers.
@markus2330 Sadly my solution in #1141 did not work. This is such a strange problem. I decided to see if I can get it to work without the 'vitest-canvas-mock' package. The result is in #1149. I stumbled upon another issue, which made me remove some failing tests.
Thx for working on it! I didn't really find which commits in #1149 you refer to, but as long all tests reliably run, I am fine with the solution. If tests make less sense now, of course, feel free to remove them. :+1:
@markus2330
1149 seems to get huge...
This is because it is based on #1141.
I didn't really find which commits in https://github.com/ElektraInitiative/PermaplanT/pull/1149 you refer to
This one 122d26e74e02a95a66f87bafe596deccd0e2bd13
LGTM. I assume you didn't skip the test so that we avoid the dep to the otherwise unused lib?
Didn't think about using skip. I just commended it out. But I like skip better, so will change it to that.
Describe the Bug
https://build.libelektra.org/blue/organizations/jenkins/PermaplanT/detail/PR-1143/7/pipeline
Steps to Reproduce the Problem
cd frontend && npm install && npm run test
Expected Result
success
Actual Result
PermaplanT version
master
Operating System
Linux
Browser
tests
Versions of other relevant software/extensions
No response
Additional info/logs
When running again it succeeded.